Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (12.9k 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.2k 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.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer

Browse Categories