From 2b46f5420b9ae1d9c3626d3f56b6bed0cdfa846f Mon Sep 17 00:00:00 2001 From: akash1810 Date: Tue, 14 Jul 2026 10:58:06 +0100 Subject: [PATCH] feat: Route 100% of traffic for tag-page-rendering CODE to ECS --- .../cdk/lib/__snapshots__/renderingStack.test.ts.snap | 4 ++-- dotcom-rendering/cdk/lib/renderingStack.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap b/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap index 86619d8b422..43cd0de20c7 100644 --- a/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap +++ b/dotcom-rendering/cdk/lib/__snapshots__/renderingStack.test.ts.snap @@ -2840,13 +2840,13 @@ exports[`The RenderingCDKStack matches the snapshot for Tag Page Rendering CODE "TargetGroupArn": { "Ref": "TargetGroupTagpagerendering42E428EE", }, - "Weight": 1, + "Weight": 0, }, { "TargetGroupArn": { "Ref": "EcsTargetGroupTagpagerendering06213654", }, - "Weight": 0, + "Weight": 1, }, ], }, diff --git a/dotcom-rendering/cdk/lib/renderingStack.ts b/dotcom-rendering/cdk/lib/renderingStack.ts index 05b116e337b..5e52adc7705 100644 --- a/dotcom-rendering/cdk/lib/renderingStack.ts +++ b/dotcom-rendering/cdk/lib/renderingStack.ts @@ -289,10 +289,10 @@ export class RenderingCDKStack extends CDKStack { }, }, - // Route all traffic to EC2 + // Route all traffic to ECS targetGroupWeights: { - ec2: 1, - ecs: 0, + ec2: 0, + ecs: 1, }, }), });