diff --git a/template.yaml b/template.yaml index a8f2c8e..321bc7e 100644 --- a/template.yaml +++ b/template.yaml @@ -96,7 +96,7 @@ Resources: Action: "*" # Allow user to write rules to the DynamoDB table. - Effect: Allow - Resource: !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${AccessControlDynamoDB} + Resource: !Sub arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${TempAccessControlDynamoDB} Action: - dynamodb:PutItem - dynamodb:GetItem