0 votes
1 view
in AWS by (9.2k points)

I am trying to access DynamoDB from my Node app deployed on AWS ElasticBeanStalk. I am getting an error "User is not authorized to perform: dynamodb:PutItem on resource"

It works perfectly fine locally, only when I deploy to the AWS it stops performing.

Anyone knows the fix? Thanks in advance!

1 Answer

0 votes
by (18.5k points)

Access denied errors are generally Policy issues. Check your IAM role policies and make sure that you have added the following policy:


If not, then go to the permissions tab in the AWS console and add the above-mentioned policy.

Learn more about AWS by going through AWS course and master this trending technology.

Welcome to Intellipaat Community. Get your technical queries answered by top developers !