aws-lambda-prune

1.0.0 • Public • Published

Prune Old Lamda Functions

Use this script to prune older versions of a AWS lambda function. By default the last three versions of the function are kept, as well as the version names "$LATEST" and any versions pointed to by aliases.

Usage

AWS_ACCESS_KEY_ID=<YOUR-KEY> AWS_SECRET_ACCESS_KEY=<YOUR-SECRET> AWS_REGION=<YOUR-REGION> \
    ./bin/prune [ --keep 3 ] functionName

Package Sidebar

Install

npm i aws-lambda-prune

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • aqpeeb