{"repo":"grafana/terraform-provider-grafana","free":true,"listed":false,"github":"https://github.com/grafana/terraform-provider-grafana","clone":"git clone https://github.com/grafana/terraform-provider-grafana.git","description":"Terraform Grafana provider","language":"Go","stars":505,"topics":["terraform","terraform-provider","grafana"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform Provider for Grafana - Grafana website: - Grafana Cloud website: - Provider Documentation: - Grafana Chat: Grafana #terraform Slack channel We welcome contributions. See CONTRIBUTING.md for how to submit changes. Requirements - Terraform 0.12+ Development If you're new to provider development, a good place to start is the Extending Terraform docs. Set up your local environment by installing Go. Also Docker can be used for running tests. Local Development with Grafana If you develop the provider and want to test locally with your Grafana provider 1. Create a .terraformrc file in your operating system user directory and paste the following 2. Run go build in this directory to get the binary, Terraform will use the binary you just built for every terraform plan/apply (it should print out a warning). No need to run terraform init. Running Tests Acceptance tests require a running instance of Grafana. You can either handle running an instance of Grafana yourself or use Docker Compose. There are Make targets provided for different test scenarios that will start Grafana in Docker Compose automatically. This is the simplest option, but often not the quickest. To run the OSS tests with Grafana running in Docker Compose: Alternatively, you can use the testacc target which will use your local go installation: Running enterprise tests To run tests for resources which are available only for Grafana Enterprise, running instance of Grafana Enterprise is required. It is only possibl","default_branch":null,"files":null,"tree":[],"storefront":"/r/grafana","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grafana/terraform-provider-grafana/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}