Files
terraform-aws-observability…/variables.tf
T
Vijay Chintalapati caeebe0e1a 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
2023-04-06 11:04:29 +02:00

58 lines
1.5 KiB
Terraform

variable "aws_region" {
description = "AWS Region"
type = string
}
variable "enable_managed_prometheus" {
description = "Creates a new Amazon Managed Service for Prometheus Workspace"
type = bool
default = true
}
variable "managed_prometheus_workspace_id" {
description = "Amazon Managed Service for Prometheus Workspace ID"
type = string
default = ""
}
variable "managed_prometheus_workspace_region" {
description = "Region where Amazon Managed Service for Prometheus is deployed"
type = string
default = null
}
variable "enable_alertmanager" {
description = "Creates Amazon Managed Service for Prometheus AlertManager for all workloads"
type = bool
default = false
}
variable "managed_grafana_workspace_id" {
description = "Amazon Managed Grafana Workspace ID"
type = string
default = ""
}
variable "grafana_api_key" {
description = "Grafana API key for the Amazon Managed Grafana workspace"
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)
default = {}
}