We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f596f4 commit c6ea8baCopy full SHA for c6ea8ba
main.tf
@@ -60,17 +60,17 @@ resource "aws_ecs_service" "service" {
60
dynamic "load_balancer" {
61
for_each = module.ecs-alb.lb_http_tgs_map_arn_port
62
content {
63
- target_group_arn = each.key
+ target_group_arn = load_balancer.key
64
container_name = var.container_name
65
- container_port = each.value
+ container_port = load_balancer.value
66
}
67
68
69
for_each = module.ecs-alb.lb_https_tgs_map_arn_port
70
71
72
73
74
75
76
network_configuration {
0 commit comments