Skip to content

Instantly share code, notes, and snippets.

@radzionc
Created May 22, 2018 08:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# $1 = function name
# $2 = bucket name
# $3 = bucket object name (zipped folder)
. ./cook_notebook.sh
aws s3 cp $3 s3://$2/$3
aws lambda update-function-code --function-name $1 --s3-bucket $2 --s3-key $3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment