A collection of Bash functions to ease interaction with aws command line tool.
Directory sh/lib contains functions that can be called by first sourcing the file and then calling the function.
Example source + function call command.
source sh/lib/ec2.sh ; deleteVPC vpc-9fcb94fb
Dev environments are built on Docker images. Dockerfiles are stored under directory dockerfiles//Dockerfile
The following example command builds Docker image for DynamoDB local development.
sudo docker build -f dockerfiles/dynamodb/Dockerfile -t dynamodb:dev .
The following example command starts dynamodb:dev image, mounts current working directory under /mnt/workspace and enables port forwarding from port 8000 to 8000
sudo docker run -v $PWD:/mnt/repo -p 8000:8000 -it dynamodb:dev
aws dynamodb list-tables --endpoint-url http://localhost:8000 #Inside the container
aws dynamodb list-tables --endpoint-url http://172.17.0.1:8000 #From outside of container