Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

feature: add option to specify number of layer versions to keep #113

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ functions:
| compileDir | `string` | .serverless | Compilation directory |
| layersDeploymentBucket | `string` | | You can specify a bucket to upload lambda layers. `Required if deploymentBucket is not defined.` |
| customInstallationCommand | `string` | | It specify a custom command to install deps ex. `MY_ENV=1 npm --proxy http://myproxy.com i -P` |
| retainVersions | `int` | | Number of layer versions to keep, the rest versions will be removed after deployments |


## NodeJS
Expand Down
40 changes: 27 additions & 13 deletions lib/aws/LayersService.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/aws/LayersService.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading