Last active
September 6, 2019 06:39
-
-
Save brandonjbjelland/b6fe61bd642895c84236be7ffc36e4d7 to your computer and use it in GitHub Desktop.
alb test fixture
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
locals { | |
target_groups_count = 2 | |
target_groups = "${list( | |
map("name", "foo", | |
"backend_protocol", "HTTP", | |
"backend_port", 80, | |
), | |
map("name", "bar", | |
"backend_protocol", "HTTP", | |
"backend_port", 8080, | |
), | |
)} | |
} | |
module "alb" { | |
source = "terraform-aws-modules/alb/aws" | |
version = "3.1.0" | |
load_balancer_name = "my-alb" | |
security_groups = ["sg-edcd9784", "sg-edcd9785"] | |
log_bucket_name = "logs-us-east-2-123456789012" | |
log_location_prefix = "my-alb-logs" | |
subnets = ["subnet-abcde012", subnet-bcde012a"] | |
tags = "${map("Environment", "test")}" | |
vpc_id = "vpc-abcde01" | |
https_listeners = "${list()}" | |
https_listeners_count = 0 | |
http_tcp_listeners = "${list()}" | |
http_tcp_listeners_count = 0 | |
extra_ssl_certs = "${list()}" | |
extra_ssl_certs_count = 0 | |
target_groups = "${local.target_groups}" | |
target_groups_count = "${local.target_groups_count}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment