Skip to content

Commit 62efaab

Browse files
committed
Allow permission to read user index
1 parent 8364b55 commit 62efaab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

terraform/modules/lambdas/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ resource "aws_iam_policy" "shared_iam_policy" {
222222
Resource = [
223223
// Tickets is still in us-east-1!
224224
"arn:aws:dynamodb:us-east-1:${data.aws_caller_identity.current.account_id}:table/infra-events-tickets",
225+
"arn:aws:dynamodb:us-east-1:${data.aws_caller_identity.current.account_id}:table/infra-events-tickets/index/*",
225226
"arn:aws:dynamodb:us-east-1:${data.aws_caller_identity.current.account_id}:table/infra-events-ticketing-metadata",
226227
"arn:aws:dynamodb:us-east-1:${data.aws_caller_identity.current.account_id}:table/infra-merchstore-purchase-history",
227228
"arn:aws:dynamodb:us-east-1:${data.aws_caller_identity.current.account_id}:table/infra-merchstore-purchase-history/index/*",

0 commit comments

Comments
 (0)