npm init npm -i --save (libraries) open in code, create handler function in index.js zip -r deploy.zip ./ you will get deploy.zip file in current directory Go to AWS lambda function console then choose upload deploy.zip
Use CLI:
aws lambda update-function-code –function-name lambda-something –zip-file fileb://deploy.zip (specify runtime? Also, may not need fileb which is a zsh plugin)