Contributions are welcome! Here's how you can contribute to this project:
If you find a bug, please open an issue on the GitHub repository. Provide as much detail as possible, including:
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Terraform version
- Provider version
- Switch model and firmware version
- The HTML page of the concerned resource
If you have an idea for an enhancement or a new feature, please open an issue on the GitHub repository. Describe the enhancement and explain why it would be beneficial.
- Go 1.23 or later
- Terraform 1.9 or later
-
Clone the repository:
git clone github.com/brennoo/terraform-provider-hrui.git
-
Navigate to the provider directory:
cd terraform-provider-hrui
-
Build the provider:
make build
This will create an executable file named
terraform-provider-hrui
in the project directory.
-
Set up a development override in your
~/.terraformrc
file:provider_installation { dev_overrides { "brennoo/hrui" = "/path/to/your/project" } direct {} }
Replace
/path/to/your/project
with the actual path to your provider directory. -
Run
terraform init
in your Terraform project directory.
If you want to contribute code, please follow these steps:
-
Fork the repository.
-
Create a new branch for your changes.
-
Make your changes and commit them with descriptive commit messages.
-
Push your changes to your fork.
-
Open a pull request 🎉
Please ensure that your code follows the existing code style and includes tests for any new functionality.