@distinction-dev/serverless-ephemeral-storage

1.0.1 • Public • Published

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.

Package Sidebar

Install

npm i @distinction-dev/serverless-ephemeral-storage

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

5.13 kB

Total Files

7

Last publish

Collaborators

  • killdozerx2