aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

Allow stack updates to be cancelled in CloudFormation delete (and maybe elsewhere)

Open Slooz opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. AWS ECS takes three hours to timeout if there's an issue during a stack update

Describe the solution you'd like Allow stack updates to be cancelled, like with the CancelUpdateStack API

Describe alternatives you've considered Use the CloudFormationDeleteStack task to cancel the stack update. This used to work before, but now it displays the following error:

##[error]ValidationError: Stack cannot be deleted while in status UPDATE_IN_PROGRESS

Slooz avatar Jan 07 '20 16:01 Slooz

I think this would be reasonable to add as an opt in feature for CloudFormationDeleteStack. How do you think it should work in other cases?

hunterwerlla avatar Feb 27 '20 16:02 hunterwerlla

I think it would work best as a separate task that's dedicated to canceling stack updates. Sometimes, I just want to be able to cancel a stack update without doing anything else.

You could also add a feature to CloudFormationDeleteStack to automatically cancel the stack if there is an update in progress, and then proceed to delete the stack.

Slooz avatar Feb 27 '20 16:02 Slooz