🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

serverless-lambda-prune-plugin

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-lambda-prune-plugin

Delete old/unused lambda versions from your AWS account

1.3.0
latest
Source
npm
Version published
Weekly downloads
285
44.67%
Maintainers
1
Weekly downloads
 
Created
Source

Serverless Lambda Prune Plugin

When developing with Serverless framework your AWS account will quickly hit the 1.5GB total lambda size limit. This plugin will iteratively scan all lambdas in your AWS account (not only lambdas defined in the project!) and remove their old versions.

Most recent versions and versions with aliases are not deleted.

Installation

npm install serverless-lambda-prune-plugin

Usage

sls function prune

Options:

--number number / -n number: keep number most recent versions (default: 5)

Keywords

serverless

FAQs

Package last updated on 18 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts