AWS DLM supports time based retention policies since end of November 2019: https://aws.amazon.com/about-aws/whats-new/2019/11/data-lifecycle-manager-supports-time-based-retention-policies/
This feature is currently not supported by the Terraform AWS Provider.
retain_rule {
type = "Age"
interval = 7
interval_unit = "Days"
}
This would be really nice!
The count-base retention is much more complicated to manage, for example when you delete disks and the snapshots remain forever because the count stops growing.
Most helpful comment
This would be really nice!
The count-base retention is much more complicated to manage, for example when you delete disks and the snapshots remain forever because the count stops growing.