Commands to access Dynamo DB
-
Using DynamoDB image
aws dynamodb scan --table-name customer-loc --endpoint-url=http://localhost:8000
-
Using Localstack from within a container, or set up profile for aws cli of a PC using first shell script
aws dynamodb scan --table-name customer-loc --endpoint-url=http://localhost:4566 --profile=localstack
Access a container
docker container exec -it localstack sh