Uninstall the solution
You can uninstall the solution from the AWS Management Console or by using the AWS CLI. You must manually delete the transit gateway, Amazon S3 buckets, and global network created by this solution. AWS solutions don’t automatically delete these resources, in case you have stored data that you want to retain.
Using the AWS Management Console
-
Sign in to the AWS CloudFormation console
. -
On the Stacks page, select this solution’s installation stack.
-
Choose Delete.
Using AWS Command Line Interface
Determine whether the AWS CLI is available in your environment. For installation instructions, see What is the AWS Command Line Interface? in the AWS CLI User Guide. After confirming that the AWS CLI is available, run the following command.
$ aws cloudformation delete-stack --stack-name <installation-stack-name>
Manually delete resources
We configured this solution to retain solution-specific resources to prevent accidental data loss if you decide to delete the CloudFormation stack. After uninstalling the solution, you can manually delete these resources if you don’t need to retain the data. Refer to these guides to delete the following resources: