0 votes
1 view
in AWS by (5.8k 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:

AmazonDynamoDBFullAccess 

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

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


Categories

...