awslabs / rds-snapshot-tool

The Snapshot Tool for Amazon RDS automates the task of creating manual snapshots, copying them into a different account and a different region, and deleting them after a specified number of days
Apache License 2.0
341 stars 146 forks source link

DeleteOldSnapshots equals false #44

Closed jkovolski closed 4 years ago

jkovolski commented 5 years ago

When setting the DeleteOldSnapshots parameter to False, I receive this error: Template format error: Unresolved resource dependencies [lambdaDeleteOldSnapshotsRDS] in the Resources block of the template.

Setting the RetentionDays to 0 or blank does not work. Only setting DeleteOldSnapshots to True allows the template to be deployed.

jkovolski commented 4 years ago

I'm updated the 'Depends on' settings which solved the issue