Skip to content

Commit

Permalink
Adding more time to health check and modifying SG for load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Elhaiek committed Apr 10, 2024
1 parent 7f52888 commit b781c97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/alb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ resource "aws_lb_target_group" "ecs_target" {
protocol = "HTTP" // Change this to HTTP
path = "/health" // Specify a path that your application responds to with HTTP 200
port = "traffic-port" // Use the traffic port
interval = 180
interval = 120
healthy_threshold = 4
unhealthy_threshold = 2
matcher = "200" // Expect a 200 OK response for a healthy status
timeout = 180
timeout = 120
}
}

Expand Down

0 comments on commit b781c97

Please sign in to comment.