Cancel a stack update - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Cancel 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 can't 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 before initiating the stack update.

To cancel a stack update (console)

  1. Sign in to the Amazon Web Services Management Console and open the Amazon CloudFormation console at https://console.amazonaws.cn/cloudformation.

  2. On the navigation bar at the top of the screen, choose the Amazon Web Services Region where the stack is located.

  3. On the Stacks page, choose the stack that's currently being updated. Its status must be UPDATE_IN_PROGRESS.

  4. Choose Stack actions and then Cancel update stack.

  5. To continue canceling the update, choose Cancel update. Otherwise, choose 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 (Amazon CLI)

Use the command cancel-update-stack to cancel an update. For more information, see Cancel a stack update.