Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morugu/zip-aws-lambda-layer
Zip for AWS Lambda as layer
https://github.com/morugu/zip-aws-lambda-layer
Last synced: 10 days ago
JSON representation
Zip for AWS Lambda as layer
- Host: GitHub
- URL: https://github.com/morugu/zip-aws-lambda-layer
- Owner: morugu
- Created: 2019-12-12T23:32:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T22:06:41.000Z (over 4 years ago)
- Last Synced: 2024-08-02T06:14:28.967Z (3 months ago)
- Language: Dockerfile
- Homepage:
- Size: 348 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-layers - `morugu/zip-aws-lambda-layer`
README
# Zip for AWS Lambda as layer
[Zip](http://infozip.sourceforge.net/Zip.html) archive command for AWS Lambda layer.
## Getting Started
You can get `zip-lambda-layer.zip` file the following build command via Docker.
```
$ docker build -t zip-lambda-layer .
$ docker run -v "${PWD}/dist":/tmp/zip-lambda-layer zip-lambda-layer:latest
```Click on Layers and click "Create Layer", upload `zip-lambda-layer.zip`, choose the runtime you need, and other inputs like the following image.
![Create Layer](CreateLayer.png)
Click "Add a layer" your lambda function Designer, and add it.
![Add Layer To Function](AddLayerToFunction.png)