We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d3fcc9 commit b79cd80Copy full SHA for b79cd80
infrastructure/modules/dynamo_db/main.tf
@@ -122,13 +122,11 @@ data "aws_iam_policy_document" "dynamodb_write_policy" {
122
}
123
124
125
-data "aws_iam_policy_document" "dynamodb_write_without_update_policy" {
+data "aws_iam_policy_document" "dynamodb_put_item_policy" {
126
statement {
127
effect = "Allow"
128
actions = [
129
- "dynamodb:PutItem",
130
- "dynamodb:DeleteItem",
131
- "dynamodb:BatchWriteItem"
+ "dynamodb:PutItem"
132
]
133
resources = [
134
aws_dynamodb_table.ndr_dynamodb_table.arn,
0 commit comments