Skip to content

gogorichie/terraform-grafana-influxdb-ds-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana InfluxDB Datasource Module

This Terraform module provides a convenient way to provision Grafana InfluxDB Datasources as code.

Image

Provider Configuration

To use this module, you must configure the Grafana provider by providing the URL and auth variables.

Usage

To use this module, include it in your Terraform configuration by referencing its source location. You can then set the required variables and configure the desired resources.

# grafana influxdb datasource module
module "influxdb-ds-module" {
  source        = "gogorichie/influxdb-ds-module/grafana"
  grafana_url   = "https://grafana.example.com"
  grafana_auth  = "your-auth-token"
  ds_name       = "my-influxdb"
  database_name = "influxdb"
  url           = "http://influxdb.example.net:8086/"
}