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

Deleting a Change Set

Deleting a change set removes it from the list of change sets for the stack. Deleting a change set prevents you or another user from accidentally executing a change set that shouldn't be applied. AWS CloudFormation retains all change sets until you update the stack unless you delete them.

To delete a change set (console)

  1. In the AWS CloudFormation console, choose the stack that contains the change set that you want to delete.

  2. In the stack detail pane, choose Change Sets to view a list of the stack's change sets.

  3. Choose the change set that you want delete.

    The AWS CloudFormation console directs you to the detail page for the change set.

  4. Choose Other Actions, and then choose Delete.

  5. Confirm that this is the change set you want to delete, and then choose Delete.

    AWS CloudFormation deletes the change set from the stack's list of change sets.

To delete a change set (AWS CLI)

  • Run the aws cloudformation delete-change-set command, specifying the ID of the change set that you want to delete, as shown in the following example:

    Copy
    aws cloudformation delete-change-set --change-set-name arn:aws:cloudformation:us-east-1:123456789012:changeSet/SampleChangeSet/1a2345b6-0000-00a0-a123-00abc0abc000