51 lines
1.2 KiB
HCL
51 lines
1.2 KiB
HCL
# Global Terraform
|
|
variable "environment" {
|
|
description = "Architecture Environment"
|
|
type = "string"
|
|
}
|
|
|
|
# Global DataDog
|
|
variable "evaluation_delay" {
|
|
description = "Delay in seconds for the metric evaluation"
|
|
default = 15
|
|
}
|
|
|
|
variable "new_host_delay" {
|
|
description = "Delay in seconds before monitor new resource"
|
|
default = 300
|
|
}
|
|
|
|
variable "message" {
|
|
description = "Message sent when an alert is triggered"
|
|
}
|
|
|
|
variable "filter_tags_use_defaults" {
|
|
description = "Use default filter tags convention"
|
|
default = "true"
|
|
}
|
|
|
|
variable "filter_tags_custom" {
|
|
description = "Tags used for custom filtering when filter_tags_use_defaults is false"
|
|
default = "*"
|
|
}
|
|
|
|
# Nginx Middleware specific
|
|
|
|
variable "nginx_connect_silenced" {
|
|
description = "Groups to mute for Nginx status monitor"
|
|
type = "map"
|
|
default = {}
|
|
}
|
|
|
|
variable "nginx_connect_message" {
|
|
description = "Custom message for Nginx status monitor"
|
|
type = "string"
|
|
default = ""
|
|
}
|
|
|
|
variable "nginx_connect_threshold_critical" {
|
|
description = "Nginx status monitor (critical threshold)"
|
|
type = "string"
|
|
default = 1.1754943508222875e-38
|
|
}
|