Skip to content

Commit

Permalink
ALB: Fix health check matcher
Browse files Browse the repository at this point in the history
Fix `Health checks failed with these codes: [301]`
  • Loading branch information
takano32 committed Mar 3, 2024
1 parent 2495c91 commit f4bc1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fargate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ resource "aws_lb_target_group" "this" {
vpc_id = module.vpc.vpc_id
health_check {
path = "/"
matcher = "200,302"
matcher = "200,301,302"
}

}
Expand Down

0 comments on commit f4bc1be

Please sign in to comment.