Skip to content

A Serverless Framework Plugin allowing to set ephemeralStorageSize property of lambda functions for older version of serverless packages

License

Notifications You must be signed in to change notification settings

distinction-dev/serverless-ephemeral-storage

Repository files navigation

Getting started

Installation

npm install --save-dev @distinction-dev/serverless-ephemeral-storage

add Plugin to your serverless.yml in the plugins section.

Usage

Example serverless.yml:

provider:
  name: aws

plugins:
  - "@distinction-dev/serverless-ephemeral-storage"

functions:
  hello:
    handler: handler.hello
    ephemeralStorageSize: 1024

Functionality

Before March 24, 2022, AWS Lambda was providing only an additional 512MB of ephemeral storage. Following the most recent upgrade, the user can choose this storage capacity between 512 MB and 10240 MB. This plugin is designed to work with an older version of the serverless package that does not support the ephemeralStorageSize property in lambda functions.

About

A Serverless Framework Plugin allowing to set ephemeralStorageSize property of lambda functions for older version of serverless packages

Resources

License

Stars

Watchers

Forks

Packages

No packages published