In the AWS console and through the CLI, you can exclude specific data volumes by tag whenever you create a DLM lifecycle that targets instances rather than volumes.
However, there seems to be no such way to do that with the aws_dlm_lifecycle_policy resource, and importing in a policy with such configuration has no mention of volume exclusion.
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.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
In the AWS console and through the CLI, you can exclude specific data volumes by tag whenever you create a DLM lifecycle that targets instances rather than volumes.
However, there seems to be no such way to do that with the aws_dlm_lifecycle_policy resource, and importing in a policy with such configuration has no mention of volume exclusion.
Affected Resource(s) and/or Data Source(s)
aws_dlm_lifecycle_policy
Potential Terraform Configuration
References
https://docs.aws.amazon.com/cli/latest/reference/dlm/create-lifecycle-policy.html
See
ExcludeDataVolumeTags
option.Would you like to implement a fix?
No response