Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Revert stack imports into CloudFormation StackSets

Focus mode
Revert stack imports into CloudFormation StackSets - AWS CloudFormation

If you have unwanted changes in your stack instance, you can revert the stack instance import.

When you revert a stack instance import, CloudFormation deletes the stack instance from the stack set but retains the stack's resources.

To revert a stack import operation, complete the following procedure.

  1. Specify a DeletionPolicy attribute of Retain for each resource that you want to keep after the stack instance is deleted. For more information, see Reverting an import operation.

  2. Delete stack instances from your stack set. For more information, see Delete stack instances from CloudFormation StackSets .

  3. Delete your stack set. For more information, see Delete CloudFormation StackSets.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.