Requirements
- Terraform 0.12.x+
- Go 1.13.x+ (to build the provider plugin)
Building The Provider
Build for linux (default) or darwin with make.
make build
Using the provider
Please refer to the Terraform registry documentation here
Developing the Provider
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.13.x+ is required). This provider works using Go Modules.
In order to test the provider, you can simply run make test
.
$ go test ./...
Github Releases
In order to push a release to Github the feature branch has to be merged into production and then a tag needs to be created with the version name of the provider e.g. v0.0.1 and pushed.
git checkout production
git pull origin production
git tag v<semver>
git push origin production --tags
You can follow this tutorial to add the provider to the terraform registry.
Acknowledgements
Original provider module by: