terraform-provider-grafana-datasource

module
v0.0.0-...-26a0991 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: Apache-2.0

README

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

Directories

Path Synopsis
cmd
pkg
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL