One ticket asked for the resource policy to be an attribute of aws_dynamodb_table, and the other asked for a brand new resource.
The current implementation, with the new aws_dynamodb_resource_policy makes it impossible to create global tables via aws_dynamodb_table (via the global_secondary_index attribute). When a global table is created only the attributes of the aws_dynamodb_table resource are duplicated.
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
I've placed a feature request for DynamoDB resource policies https://github.com/hashicorp/terraform-provider-aws/issues/36569.
It was closed as a duplicate of https://github.com/hashicorp/terraform-provider-aws/issues/36502, and the feature was implemented according to the 36302.
One ticket asked for the resource policy to be an attribute of
aws_dynamodb_table
, and the other asked for a brand new resource.The current implementation, with the new
aws_dynamodb_resource_policy
makes it impossible to create global tables viaaws_dynamodb_table
(via theglobal_secondary_index
attribute). When a global table is created only the attributes of theaws_dynamodb_table
resource are duplicated.References
No response
Would you like to implement a fix?
None