Skip to content

Commit 7cd65a3

Browse files
committed
restore gsi permission for process proof
1 parent 7f401f4 commit 7cd65a3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@ data "aws_iam_policy_document" "process_proof" {
5151
]
5252
}
5353

54+
statement {
55+
sid = "AllowDynamoGSIAccess"
56+
effect = "Allow"
57+
58+
actions = [
59+
"dynamodb:Query",
60+
]
61+
62+
resources = [
63+
"${aws_dynamodb_table.templates.arn}/index/QueryById",
64+
]
65+
}
66+
5467
statement {
5568
sid = "AllowKMSAccess"
5669
effect = "Allow"

0 commit comments

Comments
 (0)