Skip to content

Commit

Permalink
Merge pull request #7 from UKHomeOffice/ACP-10783
Browse files Browse the repository at this point in the history
Healthcheck needs target port for s4
  • Loading branch information
vjremotegithub authored Apr 4, 2022
2 parents 480aed0 + 381bb7f commit 5cad498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ resource "aws_lb_target_group" "target_groups" {

health_check {
interval = var.health_check_interval
port = var.listeners[count.index]["target_port"]
protocol = "TCP"
healthy_threshold = var.healthy_threshold
unhealthy_threshold = var.unhealthy_threshold
Expand Down Expand Up @@ -135,4 +136,4 @@ resource "aws_route53_record" "dns" {
zone_id = aws_lb.balancer.zone_id
evaluate_target_health = true
}
}
}

0 comments on commit 5cad498

Please sign in to comment.