Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 914 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 914 Bytes

terraform-provider-grafanads

The terraform provider to manage every type of Grafana Datasource

Based on: https://github.com/grafana/grafana-api-golang-client

Requirements

Tested with:

  • Terraform 0.12.x
  • Go 1.13 (to build the provider plugin)

Usage

Example code is located under sample directory (sample/main.tf)

make install-local
cd sample
terraform init
terraform plan
terraform apply

Tests

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