Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.54 KB

grafana.md

File metadata and controls

29 lines (22 loc) · 1.54 KB

Use with Grafana

This provider uses the terraform-provider-grafana.

Example

GRAFANA_AUTH=api_token GRAFANA_URL=https://stack.grafana.net ./terraformer import grafana -r=dashboards // Import with Grafana API token
GRAFANA_AUTH=username:password GRAFANA_URL=https://stack.grafana.net ./terraformer import grafana -r=dashboards // Import with HTTP basic auth

Configuration

Env variable Description Required Default
GRAFANA_AUTH API token or HTTP basic auth (if pattern is username:password) yes -
GRAFANA_URL URL to the Grafana instance, e.g. https://stack.grafana.net yes -
GRAFANA_ORG_ID Grafana organisation ID no 1
HTTPS_TLS_KEY Path to TLS key file no -
HTTPS_TLS_CERT Path to TLS cert file no -
HTTPS_CA_CERT Path to CA cert file no -
HTTPS_INSECURE_SKIP_VERIFY Whether to skip TLS certificate validation (1 for true, 0 for false) no 0

List of supported Grafana resources:

  • dashboard
    • grafana_dashboard
  • folder
    • grafana_folder