1 Answer
- Newest
- Most votes
- Most comments
0
AWS::EC2::Route" and "AWS::EC2::VPCGatewayAttachment" are not listed in the following documentation, so you are correct that resource import is not supported.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html
If you don't want to affect the existing stack, how about creating "AWS::EC2::Route" and "AWS::EC2::VPCGatewayAttachment" on separate stacks?
After creation, if there are no problems, it would be better to edit the existing stack by importing it into the existing stack.
It would be difficult to delete the routes and unassociate the gateways without recreating them as a change set.
If you do not delete it, you will probably get an "already exists" error and the stack update will fail.
Relevant content
- asked 6 months ago
- Accepted Answerasked 5 years ago
- asked 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 months ago