The terraform provider to manage every type of Grafana Datasource
Based on: https://github.com/grafana/grafana-api-golang-client
Tested with:
Example code is located under sample directory (sample/main.tf)
make install-local
cd sample
terraform init
terraform plan
terraform apply
In order to test the provider, you can simply run make test
.
$ make test
In order to run the full suite of Acceptance tests, run make testacc
.
GRAFANA_URL=https://grafana.company.com GRAFANA_AUTH=XYZ make testacc