Terraform-provider-aws: Implement support for time based retention policies in DLM

Created on 2 Jan 2020  路  1Comment  路  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

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.

New or Affected Resource(s)

  • aws/resource_aws_dlm_lifecycle_policy.go

Potential Terraform Configuration

retain_rule {
  type = "Age"
  interval = 7
  interval_unit = "Days"
}

enhancement servicdlm

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings