This repository was generated as a template from the provider scaffold. See notes there about the Terraform Plugin SDK and other helpful "getting started" information.
- Clone the repository
- Enter the repository directory
- Build the provider using the Go
install
command:
$ go install
If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).
To compile the provider, run go install
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
To generate or update documentation, run go generate
.
In order to run the full suite of Acceptance tests, run make testacc
.
Note: Acceptance tests create real resources! Act accordingly.
$ make testacc
See here
for details about how to deploy a new version of the provider. Basically
you just add a tag with git tag v...
and push it, the rest of the
configuration is already in place. But check the GitHub Action (release
)
to ensure it worked as you expected.