How do I view the DeletionPolicy on a given CloudFormation resource?

Viewed 479

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?

1 Answers

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)

Related