Reputation: 75639
I created a CloudFormation stack and then updated it using a changeset to change DeletionPolicy to Retain.
Is there any way to view the DeletionPolicy on a resource in a live stack to tell whether it was set correctly?
Upvotes: 5
Views: 1685
Reputation: 4648
describe-stack-resource does not currently return DeletionPolicy
Read the DeletionPolicy
documentation for default DeletionPolicy
values, search the template itself for DeletionPolicy
overrides, and ensure your CloudFormation stack status reached the status you were expecting (probably CREATE_COMPLETE
/ UPDATE_COMPLETE
)
Upvotes: 3