- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2
 
Description
Is your feature request related to a problem? Please describe.
We have already checked EnableTerminationProtection for the stack before stack deletion.
But when deleting a stack with EC2 or RDS with delete protection enabled, the deletion is executed halfway through and then fails with the deletion on that resource, giving an error.
However, it may be a good idea to have a mechanism to check this before performing the deletion.
Describe the solution you'd like
Check resource's deletion (terminate) protection before stack deletion
Additional context
Consider not only checking, but also removing the protection option? (and EnableTerminationProtection for the stack too? Too risky indeed?)
Is this inconsistent with exclusion of the Deletion Policy Retain's resources? Use with this option -f? (#485)