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 Feb 28, 2024
1 parent 4e49d9c commit 6164c86
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 @@ -268,7 +268,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 6164c86

Please sign in to comment.