79 lines
1.8 KiB
HCL
Executable File
79 lines
1.8 KiB
HCL
Executable File
# 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 "prefix_slug" {
|
|
description = "Prefix string to prepend between brackets on every monitors names"
|
|
default = ""
|
|
}
|
|
|
|
variable "notify_no_data" {
|
|
description = "Will raise no data alert if set to true"
|
|
default = true
|
|
}
|
|
|
|
variable "datadog_apache_process_no_data_timeframe" {
|
|
description = "Number of minutes before reporting no data"
|
|
type = string
|
|
default = 10
|
|
}
|
|
|
|
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 = "*"
|
|
}
|
|
|
|
variable "filter_tags_custom_excluded" {
|
|
description = "Tags excluded for custom filtering when filter_tags_use_defaults is false"
|
|
default = ""
|
|
}
|
|
|
|
# Apache Middleware specific
|
|
|
|
variable "apache_connect_enabled" {
|
|
description = "Flag to enable Apache status monitor"
|
|
type = string
|
|
default = "true"
|
|
}
|
|
|
|
variable "apache_connect_extra_tags" {
|
|
description = "Extra tags for Apache process monitor"
|
|
type = list(string)
|
|
default = []
|
|
}
|
|
|
|
variable "apache_connect_message" {
|
|
description = "Custom message for Apache status monitor"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "apache_connect_threshold_warning" {
|
|
description = "Apache status monitor (warning threshold)"
|
|
type = string
|
|
default = 3
|
|
}
|
|
|