This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
Home
Bruno Agutoli edited this page Apr 18, 2020
·
13 revisions
This library is an abstraction to setup AWS layers on ServerlessJS framework.
There are some advantages and improvements which makes it more efficient if compared with native layers support.
- It attaches layers automatically for all functions.
- It checks if dependencies were changed before deployment.
- If not changed, It skip creation of a new layer.
- It supports Python, Ruby and NodeJs.
- It installs and packs dependencies when changed (npm + zip + upload to S3).
- It deploys local folders/directory as a library:
- It does a checksum hash of the local folders and stores the result on S3 which later on It's compared before a new deployment.
- Very useful when you want to share a specific directory on your project as a layer shared with different functions.
(Help wanted to improve this document)