-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_dlm_lifecycle_policy: support other time intervals #14832
Comments
Hi @djmetzle, thank you for raising this feature request. At this time, it seems the |
True, but it looks like AWS now supports arbitrary schedules via the See issue #13627 |
This functionality has been released in v4.9.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Description
The
aws_dlm_lifecycle_policy
resource only supports theHOURS
interval specficiation.https://github.com/terraform-providers/terraform-provider-aws/blob/11301c1356f6e76b07e895c0b41a326a0fabc080/aws/resource_aws_dlm_lifecycle_policy.go#L75-L82
See the docs here:
https://github.com/terraform-providers/terraform-provider-aws/blob/1d896f5b6e3ec9cbb8aedeb947b8cec275e3f25f/website/docs/r/dlm_lifecycle_policy.markdown#create-rule-arguments
It mentions:
The go sdk does support other intervals though:
https://github.com/aws/aws-sdk-go/blob/fde575c64841b291899bc112dfcdc206f609a305/service/dlm/api.go#L2505-L2517
Along with the only currently allowed value:
https://github.com/aws/aws-sdk-go/blob/fde575c64841b291899bc112dfcdc206f609a305/service/dlm/api.go#L2465-L2468
It would be useful to fully use the capabilities of DLM from this Terrafrom module.
Unfortunately, the AWS docs do not mention the other schedule intervals, so perhaps i'm misreading here:
https://docs.aws.amazon.com/dlm/latest/APIReference/API_CreateRule.html#dlm-Type-CreateRule-IntervalUnit
New or Affected Resource(s)
The text was updated successfully, but these errors were encountered: