I've created a node.js application which connects to DynamoDB. Everything is working fine locally Now I'm trying to setup on AWS servers.
- First I've created DynamoDB tables from AWS DynamoDB console. It is working fine.
- I've created a new role from IAM management console > Roles to access DynamoDB. And attached that role to EC2 instance. But when I fire any aws dynamodb cli command, it gave me error to mention the region.
- So I went to IAM management console > Users, and created an access key to my admin type user.
- Now I'm login to EC2 CLI using
ec2-userandaws configurewith previously generated access key.
AWS Access Key ID [None]: ACCESS KEY
AWS Secret Access Key [None]: SECRET
Default region name [None]: us-east-1
Default output format [None]: json
- But when I use following command
aws dynamodb list-tables. It gives no output, no error.

