diff --git a/packages/aws-cdk/lib/api/hotswap/ecs-services.ts b/packages/aws-cdk/lib/api/hotswap/ecs-services.ts index fa8d6c4871522..a5ddad96505f2 100644 --- a/packages/aws-cdk/lib/api/hotswap/ecs-services.ts +++ b/packages/aws-cdk/lib/api/hotswap/ecs-services.ts @@ -144,14 +144,6 @@ export async function isHotswappableEcsServiceChange( state: 'failure', }, - // wait for all services to report COMPLETED status for the PRIMARY deployment - { - matcher: 'path', - argument: "length(services[].deployments[? status == 'PRIMARY' && rolloutState != 'COMPLETED'][]) == `0`", - expected: true, - state: 'success', - }, - // failure if any services report a deployment with status FAILED { matcher: 'path', @@ -160,7 +152,6 @@ export async function isHotswappableEcsServiceChange( state: 'failure', }, - // backup for non-rolling update services that do not provide rolloutState // wait for all services to report only a single deployment { matcher: 'path',