mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
Make creation of Grafana Data Source and Folder configurable (#145)
* Made the cluster variable visible in dashboards * Made the repo reusable with multiple EKS clusters * Relabled the input variable from create_grafana_data_source to create_prometheus_data_source
This commit is contained in:
committed by
GitHub
parent
cd28d9975a
commit
caeebe0e1a
@@ -38,6 +38,18 @@ variable "grafana_api_key" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "create_prometheus_data_source" {
|
||||
description = "Boolean flag to enable Amazon Managed Grafana datasource"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "create_dashboard_folder" {
|
||||
description = "Boolean flag to enable Amazon Managed Grafana folder and dashboards"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "tags" {
|
||||
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
|
||||
type = map(string)
|
||||
|
||||
Reference in New Issue
Block a user