Reverting a stack import operation
To revert a stack import operation, complete the following tasks:
-
Specify a
DeletionPolicy
attribute ofRetain
for each resource that you want to keep after the stack instance is deleted. For more information, see Reverting an import operation. -
Delete stack instances from your stack set. For more information, see Delete stack instances from your stack set.
-
Delete your stack set. For more information, see Delete a stack set.
Results: The revert operation has deleted the stack instance and retained the stack's resources.