AWS CloudFormation
User Guide (API Version 2010-05-15)

Canceling a Stack Update

After a stack update has begun, you can cancel the stack update if the stack is still in the UPDATE_IN_PROGRESS state. After an update has finished, you cannot cancel it. You can, however, update a stack again with any previous settings.

If you cancel a stack update, the stack is rolled back to the stack configuration that existed prior to initiating the stack update.

To cancel a stack update by using the console

  1. From the list of stacks in the AWS CloudFormation console, select the stack that is currently being updated (its state must be UPDATE_IN_PROGRESS) .

  2. Choose Actions and then Cancel Update.

  3. To continue canceling the update, click Yes, Cancel Update when prompted. Otherwise, click Cancel to resume the update.

The stack proceeds to the UPDATE_ROLLBACK_IN_PROGRESS state. After the update cancellation is complete, the stack is set to UPDATE_ROLLBACK_COMPLETE.

To cancel a stack update by using the command line