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: 26 days ago
JSON representation

Terraform Provider for Anexia Engine

Lists

README

        


Terraform logo

# 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)