Files
a13labs.infra/terraform/modules/apps/grafana/variables.tf
T

34 lines
1.1 KiB
Terraform
Raw Normal View History

variable "fqdn" {
description = "The fully qualified domain name for the app server"
type = string
default = ""
}
variable "issuer" {
description = "The issuer for the certificate"
type = string
default = "internal-ca"
}
variable "tag" {
description = "Grafana image tag"
type = string
default = "latest"
}
variable "persistent_folder" {
description = "The path to the persistent folder"
type = string
}
variable "dashboard_folder" {
description = "Map of Grafana folder name => local folder path containing dashboard JSON files. Each entry becomes a Grafana provider/category and loads all .json files from its path."
type = map(string)
default = {}
}
variable "datasource_folder" {
description = "Path to a folder containing Grafana datasource provisioning YAML files. When set, all .yml/.yaml files in this folder will be loaded and have __PROMETHEUS_URL__ replaced with the actual prometheus_url. If not set, falls back to the default single-prometheus datasource."
type = string
}