diff --git a/lib/decidim-stack.ts b/lib/decidim-stack.ts index ed9e08d..d4e425c 100644 --- a/lib/decidim-stack.ts +++ b/lib/decidim-stack.ts @@ -330,7 +330,7 @@ export class DecidimStack extends cdk.Stack { port: '80', path: '/', protocol: elbv2.Protocol.HTTP, - healthyHttpCodes: '301', + healthyHttpCodes: '301,302', }, targets: [ecsService], targetGroupName: `${ props.stage }-${ props.serviceName }-TargetGroup`, diff --git a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap index f22f542..865ebb1 100644 --- a/test/__snapshots__/decidim-cfj-cdk.test.ts.snap +++ b/test/__snapshots__/decidim-cfj-cdk.test.ts.snap @@ -1080,7 +1080,7 @@ exports[`DecidimStack Created 1`] = ` "HealthCheckPort": "80", "HealthCheckProtocol": "HTTP", "Matcher": { - "HttpCode": "301", + "HttpCode": "301,302", }, "Name": "staging-decidim-TargetGroup", "Port": 80,