This provider uses the Terraform Plugin Framework (v3) NOT the Terraform Plugin SDK (v1 + v2). The scaffolding repository for this can be found here.
Requirements
Developing the Provider
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 you need a running TSB instance. Configure a .env file from the template and run make test
.
$ make test
Directory Structure
docs
documentation autogenerated from a combination of examples
and Schemas.
examples
example Terraform configuration, used by docs generation code.
internal/provider
the code that takes Terraform configuration and creates resources in TSB.
tools
ensures the Go modules are present for doc generation.