Skip to content

Commit

Permalink
Allow successful completion with cleanup in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleB-R authored and tavisrudd committed May 17, 2024
1 parent 0c7a9f7 commit f3a04d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cfn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CreateStack extends AbstractCloudFormationStackCommand {

class UpdateStack extends AbstractCloudFormationStackCommand {
cfnOperation: CfnOperation = 'UPDATE_STACK';
expectedFinalStackStatus = ['UPDATE_COMPLETE'];
expectedFinalStackStatus = ['UPDATE_COMPLETE', 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS'];

async _run() {
return this._runUpdate();
Expand Down Expand Up @@ -130,7 +130,7 @@ export class CreateChangeSet extends AbstractCloudFormationStackCommand {

class ExecuteChangeSet extends AbstractCloudFormationStackCommand {
cfnOperation: CfnOperation = 'EXECUTE_CHANGESET'
expectedFinalStackStatus = ['UPDATE_COMPLETE', 'CREATE_COMPLETE']
expectedFinalStackStatus = ['UPDATE_COMPLETE', 'UPDATE_COMPLETE_CLEANUP_IN_PROGRESS', 'CREATE_COMPLETE']

async _run() {
await this.cfn.executeChangeSet(
Expand Down

0 comments on commit f3a04d2

Please sign in to comment.