Publish dashboards only if grafana folder exists (#148)

This commit is contained in:
Vijay Chintalapati
2023-04-06 13:02:39 -07:00
committed by GitHub
parent caeebe0e1a
commit f708659758
12 changed files with 61 additions and 4 deletions
@@ -2,21 +2,31 @@ variable "eks_cluster_id" {
description = "Name of the EKS cluster"
type = string
}
variable "aws_region" {
description = "AWS Region"
type = string
}
variable "managed_prometheus_workspace_id" {
description = "Amazon Managed Service for Prometheus Workspace ID"
type = string
default = ""
}
variable "managed_grafana_workspace_id" {
description = "Amazon Managed Grafana Workspace ID"
type = string
}
variable "grafana_api_key" {
description = "API key for authorizing the Grafana provider to make changes to Amazon Managed Grafana"
type = string
sensitive = true
}
variable "enable_dashboards" {
description = "Enables or disables curated dashboards"
type = bool
default = true
}