Skip to content

Commit d603893

Browse files
committed
Grant permission on index
1 parent c91a40b commit d603893

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infrastructure/terraform/components/api/module_authorizer_lambda.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ data "aws_iam_policy_document" "authorizer_lambda" {
6666
]
6767

6868
resources = [
69-
aws_dynamodb_table.suppliers.arn
69+
aws_dynamodb_table.suppliers.arn,
70+
"${aws_dynamodb_table.suppliers.arn}/index/supplier-apim-index"
7071
]
7172
}
7273
}

0 commit comments

Comments
 (0)