Closed
Description
Currently the DeletionPolicy
attribute for any resource can only be a string. This means we can't use functions like !If [ IsProduction, 'Retain', 'Delete' ]
.
I'd expect to be able to use conditions and other CloudFormation functions as a value for a DeletionPolicy
the same as I can elsewhere in the template.
Others who have asked the same thing: