Why doesn't the logical id change when you change a prop indicating replacement? #26161
-
If I change a prop which is marked as "replacement" in the cloudformation documentation, ex:
I would expect the logical hash would be recomputed on the resource, so that CF replaces the resource, but it doesn't, the logical name stays the same in the generated stack. What am I missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
CloudFormation knows to replace the resource because the property had a change in value - changing the logical ID when properties change isn't necessary. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
CloudFormation knows to replace the resource because the property had a change in value - changing the logical ID when properties change isn't necessary.