basically directory name is same as function name
show how to update slack layer as example
- run
cd package && ./make_zip.sh
->sg.zip
is created in~/Downloads
- Go to https://us-west-2.console.aws.amazon.com/lambda/home?region=us-west-2#/layers
- Select "slack" -> "Create version"
- Upload
sg.zip
- Click "Create"