2019-07-02 19:31:53 +02:00

70 lines
1.8 KiB
HCL

variable "environment" {
description = "Architecture environment"
type = string
}
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 = 900
}
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 = ""
}
# Azure Load Balancer specific variables
variable "status_enabled" {
description = "Flag to enable Load Balancer status monitor"
type = string
default = "true"
}
variable "status_message" {
description = "Custom message for Load Balancer status monitor"
type = string
default = ""
}
variable "status_time_aggregator" {
description = "Monitor aggregator for Load Balancer status [available values: min, max or avg]"
type = string
default = "max"
}
variable "status_timeframe" {
description = "Monitor timeframe for Load Balancer status [available values: `last_#m` (1, 5, 10, 15, or 30), `last_#h` (1, 2, or 4), or `last_1d`]"
default = "last_5m"
}
variable "status_extra_tags" {
description = "Extra tags for Load Balancer status monitor"
type = list(string)
default = []
}