A standalone executable that helps in deploying AWS lambda functions.
lambda-deploy.js --function-name FUNCTION_NAME --region REGION --action (create|update|delete) --path /path/to/your/project [ARGS]
CloudFormation snippet to create a VPC to be used for lambda functions. Qualities of the VPC:
Notes:
cat <<EOM > /tmp/assume-role-policy.json | |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"Service": [ | |
"redshift.amazonaws.com" | |
] |