32 lines
No EOL
796 B
HCL
32 lines
No EOL
796 B
HCL
variable "alerts_dir" {
|
|
type = string
|
|
default = "alerts"
|
|
description = "Relative path to the directory containing alert rule YAML files."
|
|
}
|
|
|
|
variable "datasource_uid" {
|
|
description = "Grafana datasource UID to apply to all alerts in this module"
|
|
type = string
|
|
}
|
|
|
|
variable "folder_uid" {
|
|
description = "Grafana folder UID where alerts will be placed"
|
|
type = string
|
|
}
|
|
|
|
variable "receiver" {
|
|
description = "Contact point name to associate with alerts"
|
|
type = string
|
|
}
|
|
|
|
variable "default_interval_seconds" {
|
|
description = "Default evaluation interval (in seconds)"
|
|
type = number
|
|
default = 60
|
|
}
|
|
|
|
variable "disable_provenance" {
|
|
description = "Disable provenance flag for imported alerts"
|
|
type = bool
|
|
default = false
|
|
} |