| commit | 1b0ceea97c4476414e4b06068c21d5b5c3582fc1 | [log] [tgz] |
|---|---|---|
| author | Louis.z <louis.s4372121@gmail.com> | Fri May 30 02:40:00 2025 +0800 |
| committer | GitHub <noreply@github.com> | Fri May 30 02:40:00 2025 +0800 |
| tree | bef008022157a9adbed199a4646cb7227d5fb4a2 | |
| parent | d99bd38290e3cd65d2ffca2ce51cddeec575c471 [diff] | |
| parent | 8f4a1439a9f1f17bd1da638bff903b0adaa120d1 [diff] |
Merge pull request #21 from tim-goto/main feat: add github connection, scopeconfig and scope
This template repository is built on the Terraform Plugin Framework. The template repository built on the Terraform Plugin SDK can be found at terraform-provider-scaffolding. See Which SDK Should I Use? in the Terraform documentation for additional information.
install command:go install
This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.
To add a new dependency github.com/author/dependency to your Terraform provider:
go get github.com/author/dependency go mod tidy
Then commit the changes to go.mod and go.sum.
See the provided examples in the examples/ directory.
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 make generate.
In order to run the full suite of Acceptance tests, do the following:
make testacc
This will start the backend service when called for the first time. If you ever want to restart the backend service, simply remove the file docker_compose/token.txt before you run the make target.