Skip to content

Commit

Permalink
Fix dfomain names alb host headers
Browse files Browse the repository at this point in the history
* The host header values accepts a list, rather than individual strings
  • Loading branch information
Stretch96 committed May 30, 2024
1 parent f47dc02 commit 15012f4
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ecs-cluster-infrastructure-service-alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,8 @@ resource "aws_alb_listener_rule" "infrastructure_ecs_cluster_service_host_header
}

condition {
dynamic "host_header" {
for_each = each.value["domain_names"]
content {
values = host_header.value
}
host_header {
values = each.value["domain_names"]
}
}

Expand Down

0 comments on commit 15012f4

Please sign in to comment.