mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
2e3011da1c
* Fix #103 Adjust Terraform defaults and usage for tflint and validation checks * Remove temporarily unused validation
80 lines
1.9 KiB
Terraform
80 lines
1.9 KiB
Terraform
variable "eks_cluster_id" {
|
|
description = "EKS Cluster Id"
|
|
type = string
|
|
}
|
|
|
|
variable "irsa_iam_role_path" {
|
|
description = "IAM role path for IRSA roles"
|
|
type = string
|
|
default = "/"
|
|
}
|
|
|
|
variable "irsa_iam_permissions_boundary" {
|
|
description = "IAM permissions boundary for IRSA roles"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "enable_recording_rules" {
|
|
description = "Enables or disables Managed Prometheus recording rules. Disabling this might affect some data in the dashboards"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "enable_alerting_rules" {
|
|
description = "Enables or disables Managed Prometheus alerting rules"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "managed_prometheus_workspace_endpoint" {
|
|
description = "Amazon Managed Prometheus Workspace Endpoint"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "managed_prometheus_workspace_id" {
|
|
description = "Amazon Managed Prometheus Workspace ID"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "managed_prometheus_workspace_region" {
|
|
description = "Amazon Managed Prometheus Workspace's Region"
|
|
type = string
|
|
default = null
|
|
}
|
|
|
|
variable "helm_config" {
|
|
description = "Helm Config for Prometheus"
|
|
type = any
|
|
default = {}
|
|
}
|
|
|
|
variable "dashboards_folder_id" {
|
|
description = "Grafana folder ID for automatic dashboards"
|
|
type = string
|
|
}
|
|
|
|
variable "prometheus_config" {
|
|
description = "Controls default values such as scrape interval, timeouts and ports globally"
|
|
type = object({
|
|
global_scrape_interval = string
|
|
global_scrape_timeout = string
|
|
scrape_sample_limit = number
|
|
})
|
|
|
|
default = {
|
|
global_scrape_interval = "60s"
|
|
global_scrape_timeout = "15s"
|
|
scrape_sample_limit = 1000
|
|
}
|
|
nullable = false
|
|
}
|
|
|
|
variable "tags" {
|
|
description = "Additional tags (e.g. `map('BusinessUnit`,`XYZ`)"
|
|
type = map(string)
|
|
default = {}
|
|
}
|