Skip to content

Commit b7a2f84

Browse files
committed
fix IAM role for using an index
1 parent 3efbfe0 commit b7a2f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudformation/iam.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Resources:
6161
- dynamodb:*
6262
Effect: Allow
6363
Resource:
64-
- !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/infra-events-api-records
64+
- !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/infra-events-api-records/*
6565
PolicyName: lambda-dynamo
6666
Outputs:
6767
MainFunctionRoleArn:

0 commit comments

Comments
 (0)