The purpose of this Terraform provider is to get the latest semantic version of any of the suite of HashiCorp tools.
Run the following command to build the provider:
$ go build -o terraform-provider-hashicorpversions
$ go install github.com/goreleaser/goreleaser@latest
$ make release
You will find the releases in the /dist
directory. You will need to rename the provider binary to terraform-provider-hashicorpversions
and move the binary into ~/.terraform.d/plugins/terraform.example.com/local/hashicorpversions/0.0.1/darwin_amd64
First, build and install the provider.
$ make install
Then, navigate to the examples
directory.
$ cd examples
Run the following command to initialize the workspace and apply the sample configuration.
$ terraform init && terraform apply