- https://aws.amazon.com/blogs/aws/new-aws-sam-local-beta-build-and-test-serverless-applications-locally/
- https://github.com/awslabs/aws-sam-local
- http://docs.aws.amazon.com/lambda/latest/dg/test-sam-local.html
- https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html
- AWS CLI
- Docker
- npm install -g aws-sam-local
- npm install
- (Optional) Make
- NodeJS 6.10
Tool locations and settings can be set using an environment file. I use and have .gitignore'd a file called env.sh which is sourced before running commands
export PATH=~/dev/bin/node/6.10.3/bin:$PATH
export DB_HOME=~/dev/bin/dynamodb
export PROFILE="--profile my-profile-name"
export S3_BUCKET=my-lambda-function-bucket
export STACK_NAME=sam-demo-stack