2018-02-21 16:07:41 +01:00

58 lines
1.3 KiB
HCL

# Global Terraform
variable "environment" {
description = "Architecture Environment"
type = "string"
}
# Global DataDog
variable "notify_no_data" {
description = "Enable 'No Data' alert"
default = true
}
variable "evaluation_delay" {
description = "Delay in seconds for the metric evaluation"
default = 600
}
variable "renotify_interval" {
description = "The number of minutes after the last notification before a monitor will re-notify on the current status"
default = 60
}
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 = "*"
}
# AWS RDS instance specific
variable "cpu_threshold_warning" {
description = "CPU usage in percent (warning threshold)"
default = "80"
}
variable "cpu_threshold_critical" {
description = "CPU usage in percent (critical threshold)"
default = "90"
}
variable "diskspace_threshold_warning" {
description = "Disk free space in percent (warning threshold)"
default = "20"
}
variable "diskspace_threshold_critical" {
description = "Disk free space in percent (critical threshold)"
default = "10"
}