Skip to content

jdamata/terraform-provider-sonarqube

Repository files navigation

terraform-provider-sonarqube

release Maintainability Rating Go Report Card codecov GPLv3 License

Terraform provider for managing Sonarqube configuration

This is a community provider and is not supported by Hashicorp.

Installation

This provider has been published to the Terraform Registry at https://registry.terraform.io/providers/jdamata/sonarqube. Please visit the registry for documentation and installation instructions.

Developing the Provider

Working on this provider requires the following:

You will also need to correctly setup a GOPATH, as well as adding ${GOPATH}/bin to your $PATH.

To compile the provider, run make. This will install the provider into your GOPATH.

In order to run the full suite of Acceptance tests, run make -i testacc. These tests require Docker to be installed on the machine that runs them. The tests do not create any remote resources.

$ make -i testacc

Generate documentation

Documentation is generated using tfplugindocs. These are auto-generated when creating a PR to the project.

If you wish to generate documentation locally to verify it's accuracy, run the following commands:

$ make tools
$ make docs

Debugging the Provider

See debugging.md