terraform-aws-dynamodb icon indicating copy to clipboard operation
terraform-aws-dynamodb copied to clipboard

Implementing the `aws_dynamodb_resource_policy` resource to allow a user to set the table or stream's resource policy.

Open nnsense opened this issue 5 months ago • 8 comments

what

This minor change is to implement the aws_dynamodb_resource_policy resource, to allow a user to set the table or stream's resource policy. Two more variables are added, one for the table policy, the other for the stream. They are implemented separately (even if the resource is the same) to allow the user to set them as separate objects without adding complexity to terraform.

why

It can be useful, if you're implementing DynamoDB as a trigger for example, to set the right policy allowing that

nnsense avatar Aug 27 '24 16:08 nnsense