Open andreineculau opened 1 month ago
Voting for Prioritization
Volunteering to Work on This Issue
There's more. resource_types is a list, but only 1 item is allowed 🙃
Attribute policy_details.0.resource_types supports 1 item maximum, but config has 2 declared.
And more. target_tags is also required
InvalidRequestException: The following required parameter(s) are missing: {TargetTags}
despite docs say
target_tags (Optional) A map of tag keys and their values. Any resources that match the resource_types and are tagged with any of these tags will be targeted.
Question: how does one create a default policy (available in AWS Console) then if both resource_types and target_tags are required?
Terraform Core Version
1.9.4
AWS Provider Version
5.62.0
Affected Resource(s)
aws_dlm_lifecycle_policy
Expected Behavior
Expected to skip mentioning resource_types, as the docs mention
Actual Behavior
terraform apply
actually fails with complaining about missing resource types.Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
plan and apply
Debug Output
No response
Panic Output
No response
Important Factoids
Maybe related to the sdk bump in https://github.com/hashicorp/terraform-provider-aws/issues/36140 ?
References
No response
Would you like to implement a fix?
None