684 B
684 B
| id | title | tags | created | |||
|---|---|---|---|---|---|---|
| l045 | DynamoDB CLI commands |
|
Saturday, June 22, 2024 |
DynamoDB CLI commands
Connecting to a local (Docker) DynamoDB instance
In order to distinguish between local and production accounts you should keep
seperate configs in .aws/config and .aws/credentials. Then specify the
profile if you are working locally and the local URL. Without the --profile
flag, AWS will default to the default profile which will typically be your
credentials for accessing AWS on the remote.
aws dynamodb list-tables --profile timetracking_dev --endpoint-url
http://localhost:800