From 6164c86209a63ac47a8d15c8b9874285648949b6 Mon Sep 17 00:00:00 2001 From: TAKANO Mitsuhiro Date: Thu, 29 Feb 2024 07:56:54 +0900 Subject: [PATCH] ALB: Fix health check matcher Fix `Health checks failed with these codes: [301]` --- fargate.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fargate.tf b/fargate.tf index 83d468e..75b5456 100644 --- a/fargate.tf +++ b/fargate.tf @@ -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" } }