1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 5 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 4 Jahren