Clean up resources

Clean up resources

You would clean up resources in the following order:

Remove TGW Attachments

  • Access to VPC Management Console
  • In the left sidebar, select Transit Gateway Attachments.
  • In turn, tick the Attachment related to the card, select Actions, and select Delete
  • In prompt, select Delete.
  • Match 1-2 to finish deleting the attachment.

Delete Transit Gateway

  • Access to VPC Management Console
  • In the left sidebar, select Transit Gateways.
  • Tick the Attachment related to the card, select Actions, and select Delete
  • In the prompt, select Delete. You must wait for TGW Attachments to be completely removed before deleting TGW.
  • Match 1-2 to finish clearing TGW.

Clear CloudFormation Stack

  • Access to CloudFormation Management Console
  • In the left sidebar, select Stacks.
  • Tick the CloudFormation Stack related to the lab and select Delete.
  • In the prompt, select Delete stack.
  • Wait a few minutes until CloudFormation clears all resources.