Skip to content

Commit

Permalink
chore: deploy all-at-once for dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kschelonka committed Jan 14, 2025
1 parent f1dfecc commit d4fc450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure/client-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d4fc450

Please sign in to comment.