Files
fleet-terraform/addons/monitoring/variables.tf
T
Robert Fairburn f378f62db2 Initial migration (#1)
This will be needed to make the initial tags. Once merged to main, I
will tag with the same module revisions as what exists in the Fleet
repo. We can then test the example module using the new settings.

Once validated, we'll then update the main fleet repo to redirect here
for /terraform and remove everything there. Anything referring to old
tags will still work in-place. Additionally any website references will
be updated as well to reflect these changes.
2025-02-04 10:07:51 -06:00

86 lines
1.8 KiB
Terraform

variable "customer_prefix" {
type = string
default = "fleet"
}
variable "fleet_ecs_service_name" {
type = string
default = null
}
variable "albs" {
type = list(object({
name = string
arn_suffix = string
target_group_name = string
target_group_arn_suffix = string
min_containers = optional(string, 1)
ecs_service_name = string
alert_thresholds = optional(
object({
HTTPCode_ELB_5XX_Count = object({
period = number
threshold = number
})
HTTPCode_Target_5XX_Count = object({
period = number
threshold = number
})
}),
{
HTTPCode_ELB_5XX_Count = {
period = 120
threshold = 0
},
HTTPCode_Target_5XX_Count = {
period = 120
threshold = 0
}
}
)
}))
default = []
}
variable "default_sns_topic_arns" {
type = list(string)
default = []
}
variable "sns_topic_arns_map" {
type = map(list(string))
default = {}
}
variable "mysql_cluster_members" {
type = list(string)
default = []
}
variable "redis_cluster_members" {
type = list(string)
default = []
}
variable "acm_certificate_arn" {
type = string
default = null
}
variable "cron_monitoring" {
type = object({
mysql_host = string
mysql_database = string
mysql_user = string
mysql_password_secret_name = string
vpc_id = string
subnet_ids = list(string)
rds_security_group_id = string
delay_tolerance = string
run_interval = string
log_retention_in_days = optional(number, 7)
})
default = null
}