20 lines
629 B
HCL
20 lines
629 B
HCL
variable "groups" {
|
|
description = "List of alert groups with their definitions and data sources"
|
|
type = list(object({
|
|
dashboard_alert_group_name = string
|
|
folder_uid = string
|
|
alert_definitions_path = optional(string, null)
|
|
dashboard_path_if_exist = optional(string, null)
|
|
keep_manual_changes = optional(bool, false)
|
|
prevent_destroy_on_recreate = optional(bool, false)
|
|
alerts_on_datasources_uid = list(string)
|
|
}))
|
|
}
|
|
|
|
variable "dashboard_uid_max_length" {
|
|
description = "Maximum generated length of dashboard UID"
|
|
type = number
|
|
default = 40
|
|
}
|
|
|