Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anexia-it/terraform-provider-anxcloud
Terraform Provider for Anexia Engine
https://github.com/anexia-it/terraform-provider-anxcloud
hacktoberfest
Last synced: about 2 months ago
JSON representation
Terraform Provider for Anexia Engine
- Host: GitHub
- URL: https://github.com/anexia-it/terraform-provider-anxcloud
- Owner: anexia-it
- License: apache-2.0
- Created: 2020-11-12T10:10:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T11:48:27.000Z (2 months ago)
- Last Synced: 2024-11-13T12:31:31.504Z (2 months ago)
- Topics: hacktoberfest
- Language: Go
- Homepage:
- Size: 3.64 MB
- Stars: 7
- Watchers: 6
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Provider for Anexia Cloud
- Website: [terraform.io](https://terraform.io)
- Tutorials: [learn.hashicorp.com](https://learn.hashicorp.com/terraform?track=getting-started#getting-started)
- Chat: [gitter](https://gitter.im/hashicorp-terraform/Lobby)
- Mailing List: [Google Groups](http://groups.google.com/group/terraform-tool)
- Contact: [[email protected]](mailto:[email protected])This provider is maintained internally by the Anexia Cloud team.
## Documentation
Full documentation is available under [docs/](docs/index.md)
## Development
### Build provider
Run the following command to build the provider
```shell
go build -o terraform-provider-anxcloud
```or
```shell
make build
```### Test sample configuration
First, build and install the provider.
```shell
make install
```Then, run the following command to initialize the workspace and apply the sample configuration.
```shell
terraform init && terraform apply
```### Run unit tests
Execute the following command to run unit tests:
```shell
make test
```### Run integration tests
Export `ANEXIA_TOKEN` by executing:
```shell
export ANEXIA_TOKEN=''
```and run all integration tests by executing the following command:
```shell
make testacc
```or run specific test case:
```
make testacc TESTARGS='-run=TestAccXXX'
```## Contributing
To contribute, please read the contribution guidelines: [Contributing to Terraform - Anexia Cloud Provider](CONTRIBUTING.md)
## Releasing
1. Create pull request with entries from **Unreleased** section moved into a newly created release section in [CHANGELOG.md](CHANGELOG.md)
2. Draft GitHub release with new changes in the description and configured to create a tag with the new version number on publish
3. Merge previously created pull request into main
4. Publish prepared release
5. That's it! `go-releaser` will do the rest. Terraform registry will be automatically notified after binaries have been built via webhook.=> The [release workflow](https://github.com/anexia-it/terraform-provider-anxcloud/blob/main/.github/workflows/release.yml) will create the release
## Guide for repository maintainers
### Run integration tests from fork repository
To run integration tests from fork repositories maintainer must carefully check changes that a PR is trying to make. **It is the maintainer's responsibility to avoid secrets leak.**
Integration tests are executed as part of the workflow, which has to be approved for outside collaborators.
## License
[Apache License](LICENSE)