1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
From the description, I understand that you tried to import an existing IAM role into another existing stack. However, change set creation failed.
I would like to inform you that by design, when you try to import existing resources into another existing stack there are few prerequisites.
- All imported resources must have a DeletionPolicy attribute set to Retain.
- No additional resources can be created, deleted, or modified in any way during the import process.
- Make sure that the imported resource defined in your template match the properties of the existing resource.
- Check the generated change set for your update to verify that only the expected imports are being made.
It is important to note that DeletionPolicy is only added to resource that is being imported into the stack and all other resource configurations are not changed. Hence, I would suggest you to check the above prerequisites and retry import operation.
answered 2 years ago
Relevant content
asked 4 years ago
asked 3 years ago
asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
