From d4fc45088b4edf6e33ed8df95da8395ed83e4709 Mon Sep 17 00:00:00 2001 From: Kat Schelonka Date: Tue, 14 Jan 2025 14:22:38 -0800 Subject: [PATCH] chore: deploy all-at-once for dev builds --- infrastructure/client-api/src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/client-api/src/main.ts b/infrastructure/client-api/src/main.ts index 72249a801..288e36352 100644 --- a/infrastructure/client-api/src/main.ts +++ b/infrastructure/client-api/src/main.ts @@ -315,7 +315,9 @@ class ClientAPI extends TerraformStack { useTerraformBasedCodeDeploy: false, // Shifts 10 percent of traffic in the first increment. // The remaining 90 percent is deployed five minutes later. - deploymentConfigName: 'CodeDeployDefault.ECSCanary10Percent5Minutes', + deploymentConfigName: config.isProd + ? 'CodeDeployDefault.ECSCanary10Percent5Minutes' + : 'CodeDeployDefault.ECSAllAtOnce', generateAppSpec: false, snsNotificationTopicArn: snsTopic.arn, successTerminationWaitTimeInMinutes: 5,