When you no longer need a stack group and its stacks, you can delete the stack instances and all of their associated resources from the specified target accounts within the specified regions.
- A stack group can be deleted only when the stack group does not contain any stack instances.
- Deleting a stack will not affect the stack instance.
- When deleting a stack instance, you can select whether to delete the stack.
- Log on to the Resource Orchestration Service (ROS) console.
- Select the region where the target stack group resides from the drop-down list in the upper-left corner.
- In the left-side navigation pane, click Stack Groups.
- Delete the stack instances in the stack group.
- On the Stack Groups page, click in the Actions column corresponding to the stack group, and choose Delete Stack from Stack Group from the shortcut menu.
- In the Set Deployment Options step of the Delete Stack from Stack Group wizard, configure the accounts, regions, maximum number of concurrent accounts, and fault tolerance for the stack group, and click Next.
- In the Confirm step of the Delete Stack from Stack Group wizard, confirm the accounts, regions, maximum number of concurrent accounts, and
fault tolerance for the stack group, and click Delete.
For information about how to set Maximum Number of Concurrent Accounts and Fault Tolerance, see Stack group deployment options.
- In the confirmation dialog box that appears, select the method to delete a stack,
and click OK.
- If you set Method to Delete the Stack to Release Resources, the stack will be deleted. In this case, all resources created in the stack will also be released. Use caution when performing this operation.
- If you set Method to Delete the Stack to Retain Resources, the stack will not be deleted.
- Delete the stack group.
On the Stack Groups page, click Delete in the Actions column corresponding to the stack group.