Skip to content

Commit

Permalink
wait for stack update complete
Browse files Browse the repository at this point in the history
  • Loading branch information
iliapolo committed Nov 18, 2024
1 parent c65ccc3 commit b63d5c0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
GetTemplateCommand,
ListChangeSetsCommand,
UpdateStackCommand,
waitUntilStackUpdateComplete,
} from '@aws-sdk/client-cloudformation';
import { DescribeServicesCommand } from '@aws-sdk/client-ecs';
import {
Expand Down Expand Up @@ -704,6 +705,14 @@ integTest('deploy preserves existing notification arns when not specified', with
}),
);

await waitUntilStackUpdateComplete(
{
client: fixture.aws.cloudFormation,
maxWaitTime: 600,
},
{ StackName: fixture.fullStackName('notification-arns') },
);

// deploy again
await fixture.cdkDeploy('notification-arns');

Expand Down

0 comments on commit b63d5c0

Please sign in to comment.