Skip to content

Commit 2715285

Browse files
Fix ddb permissions
1 parent cb29729 commit 2715285

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

infrastructure/terraform/components/api/module_lambda_upsert_letter.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ data "aws_iam_policy_document" "upsert_letter_lambda" {
6969
effect = "Allow"
7070

7171
actions = [
72-
"dynamodb:PutItem"
72+
"dynamodb:PutItem",
73+
"dynamodb:GetItem",
74+
"dynamodb:Query",
75+
"dynamodb:UpdateItem"
7376
]
7477

7578
resources = [

0 commit comments

Comments
 (0)