Apache devlake

Clone this repo:
  1. 1b0ceea Merge pull request #21 from tim-goto/main by Louis.z · 9 weeks ago main
  2. 8f4a143 Merge pull request #9 from tim-goto/dependabot/go_modules/deps-2f8091a2fe by Tim Häring · 3 months ago
  3. a4db7a8 Merge pull request #8 from tim-goto/dependabot/github_actions/actions-ad97c67762 by Tim Häring · 3 months ago
  4. 408b227 fix: address linter issues by Tim Häring · 3 months ago
  5. dcad204 feat: github connection scope by Tim Häring · 3 months ago

Terraform Provider Scaffolding (Terraform Plugin Framework)

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.

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
go install

Adding Dependencies

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.

Using the provider

See the provided examples in the examples/ directory.

Developing the Provider

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.