110 lines
1.5 KiB
HCL

variable "hno_escalation_group" {}
variable "ho_escalation_group" {}
variable env {}
variable region {}
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 = "*"
}
##linux
variable "dd_linux_basics" {
default = "disabled"
}
variable "linux_basics_config" {
type = "map"
default = {
notify_no_data = false
delay = 900
}
}
variable "dd_custom_cpu" {
type = "map"
default = {
status = "disabled"
}
}
#cpu threshold
variable "cpu_5_critical" {
default = 95
}
variable "cpu_15_critical" {
default = 80
}
## RDS
variable "dd_aws_rds" {
default = "disabled"
}
variable "rds_config" {
type = "map"
default = {
notify_no_data = false
delay = 900
}
}
variable "rds_cpu_threshold" {
type = "map"
default = {
warning = 80
critical = 90
}
}
variable "rds_mem_threshold" {
default = {
warning = 20
critical = 10
}
}
##apache nginx php
variable "dd_nginx" {
default = "disabled"
}
variable "dd_php_fpm" {
default = "disabled"
}
variable "dd_apache" {
default = "disabled"
}
variable "apache_nginx_fpm_config" {
type = "map"
default = {
notify_no_data = false
delay = 900
}
}
variable "php_fpm_busy_threshold" {
type = "map"
default = {
warning = 0.8
critical = 0.9
}
}