Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
Bruno Agutoli edited this page Apr 18, 2020 · 13 revisions

This library is an abstraction to setup AWS layers on ServerlessJS framework.

Why use it?

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.
  • It deploys local folders/directory as a library.
    • Using a MD5 checksum of the whole target folders and store it, later on, to compare if something changes.
    • 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)

Clone this wiki locally