diff --git a/packages/prerender-fargate/lib/prerender-fargate.ts b/packages/prerender-fargate/lib/prerender-fargate.ts index d5ca41e4..13a5cfdc 100644 --- a/packages/prerender-fargate/lib/prerender-fargate.ts +++ b/packages/prerender-fargate/lib/prerender-fargate.ts @@ -216,7 +216,7 @@ export class PrerenderFargate extends Construct { ), unhealthyThresholdCount: prerenderFargateScalingOptions?.unhealthyThresholdCount || 5, - healthyHttpCodes: "401", + healthyHttpCodes: "200", }); // Setup AutoScaling policy