Skip to content

Support Functions as DeletionPolicy/UpdateReplacePolicy Values #58

Closed
@jthomerson

Description

@jthomerson

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestProposal for new features or requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions