- documentation for the CLI: https://docs.aws.amazon.com/cli/latest/reference/lambda/update-function-code.html
- documentation how to work with Lambda and NodeJS: https://docs.aws.amazon.com/lambda/latest/dg/nodejs-package.html
npm install
zip -r code.zip .
aws lambda update-function-code --function-name $FUNCTION_NAME --zip-file fileb://./code.zip