# Datadog global variables variable "environment" { description = "Architecture environment" } 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 = "*" } variable "filter_tags_custom_excluded" { description = "Tags excluded for custom filtering when filter_tags_use_defaults is false" default = "" } variable "message" { description = "Message sent when a monitor is triggered" } 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 } # Datadog monitors variables variable "job_silenced" { description = "Groups to mute for Job monitor" type = "map" default = {} } variable "job_enabled" { description = "Flag to enable Job monitor" type = "string" default = "true" } variable "job_extra_tags" { description = "Extra tags for Job monitor" type = "list" default = [] } variable "job_message" { description = "Custom message for Job monitor" type = "string" default = "" } variable "job_threshold_warning" { description = "Job monitor (warning threshold)" type = "string" default = 3 } variable "cronjob_silenced" { description = "Groups to mute for Cronjob monitor" type = "map" default = {} } variable "cronjob_enabled" { description = "Flag to enable Cronjob monitor" type = "string" default = "true" } variable "cronjob_extra_tags" { description = "Extra tags for Cronjob monitor" type = "list" default = [] } variable "cronjob_message" { description = "Custom message for Cronjob monitor" type = "string" default = "" } variable "cronjob_threshold_warning" { description = "Cronjob monitor (warning threshold)" type = "string" default = 3 } variable "replica_available_silenced" { description = "Groups to mute for Available replica monitor" type = "map" default = {} } variable "replica_available_enabled" { description = "Flag to enable Available replica monitor" type = "string" default = "true" } variable "replica_available_extra_tags" { description = "Extra tags for Available replicamonitor" type = "list" default = [] } variable "replica_available_message" { description = "Custom message for Available replica monitor" type = "string" default = "" } variable "replica_available_time_aggregator" { description = "Monitor aggregator for Available replica [available values: min, max or avg]" type = "string" default = "max" } variable "replica_available_timeframe" { description = "Monitor timeframe for Available replica [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = "string" default = "last_15m" } variable "replica_available_threshold_critical" { default = 1 description = "Available replica critical threshold" } variable "replica_ready_silenced" { description = "Groups to mute for Ready replica monitor" type = "map" default = {} } variable "replica_ready_enabled" { description = "Flag to enable Ready replica monitor" type = "string" default = "true" } variable "replica_ready_extra_tags" { description = "Extra tags for Ready replica monitor" type = "list" default = [] } variable "replica_ready_message" { description = "Custom message for Ready replica monitor" type = "string" default = "" } variable "replica_ready_time_aggregator" { description = "Monitor aggregator for Ready replica [available values: min, max or avg]" type = "string" default = "max" } variable "replica_ready_timeframe" { description = "Monitor timeframe for Ready replica [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = "string" default = "last_5m" } variable "replica_ready_threshold_critical" { default = 1 description = "Ready replica critical threshold" } variable "replica_current_silenced" { description = "Groups to mute for Current replica monitor" type = "map" default = {} } variable "replica_current_enabled" { description = "Flag to enable Current replica monitor" type = "string" default = "true" } variable "replica_current_extra_tags" { description = "Extra tags for Current replica monitor" type = "list" default = [] } variable "replica_current_message" { description = "Custom message for Current replica monitor" type = "string" default = "" } variable "replica_current_time_aggregator" { description = "Monitor aggregator for Current replica [available values: min, max or avg]" type = "string" default = "max" } variable "replica_current_timeframe" { description = "Monitor timeframe for Current replica [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]" type = "string" default = "last_15m" } variable "replica_current_threshold_critical" { default = 1 description = "Current replica critical threshold" }