Delete a transit gateway using Amazon VPC Transit Gateways
You can't delete a transit gateway with existing attachments. You need to delete all attachments before you can delete a transit gateway.
To delete a transit gateway using the console
Open the Amazon VPC console at https://console.amazonaws.cn/vpc/
. -
Choose the transit gateway to delete.
-
Choose Actions, Delete transit gateway. Enter
delete
and choose Delete to confirm the deletion.
To delete a transit gateway using the Amazon CLI
Use the delete-transit-gateway command.