Apache devlake

Clone this repo:
  1. 81de35e Merge pull request #14 from apache/dependabot/go_modules/golang.org/x/crypto-0.35.0 by Klesh Wong · 6 days ago main
  2. 891c77d build(deps): bump golang.org/x/crypto from 0.32.0 to 0.35.0 by dependabot[bot] · 7 days ago
  3. 8a88c0f Merge pull request #1 from tim-goto/main by Klesh Wong · 13 days ago
  4. 57c6686 ci: simpler tests, add local script by Tim Häring · 5 weeks ago
  5. 9c77ba4 feat: bitbucket server connection by Tim Häring · 6 weeks 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.