Last active
September 6, 2019 06:40
-
-
Save brandonjbjelland/19768dfe9a2930ccf7023bc7db45bf91 to your computer and use it in GitHub Desktop.
alb module variables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "target_groups" { | |
description = "A list of maps containing key/value pairs that define the target groups to be created. Order of these maps is important and the index of these are to be referenced in listener definitions. Required key/values: name, backend_protocol, backend_port. Optional key/values are in the target_groups_defaults variable." | |
type = "list" | |
default = [] | |
} | |
variable "target_groups_count" { | |
description = "A manually provided count/length of the target_groups list of maps since the list cannot be computed." | |
default = 0 | |
} | |
variable "target_groups_defaults" { | |
description = "Default values for target groups as defined by the list of maps." | |
type = "map" | |
default = { | |
"cookie_duration" = 86400 | |
"deregistration_delay" = 300 | |
"health_check_interval" = 10 | |
"health_check_healthy_threshold" = 3 | |
"health_check_path" = "/" | |
"health_check_port" = "traffic-port" | |
"health_check_timeout" = 5 | |
"health_check_unhealthy_threshold" = 3 | |
"health_check_matcher" = "200-299" | |
"stickiness_enabled" = true | |
"target_type" = "instance" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment