serverless-loggroup-deletion-policy

1.1.1 • Public • Published

[!WARNING]

serverless-loggroup-deletion-policy is no longer actively developed. I do no longer use the serverless framework and despite best efforts on my part, they made it too cumbersome to develop plugins by requiring access and license keys, which don't seem to work randomly. If someone is interested in taking over please contact me, thanks!

serverless-loggroup-deletion-policy

Build Status npm package Coverage Status

Set a deletion policy on your serverless service log groups

Install

$ npm install --save-dev serverless-loggroup-deletion-policy

Usage

Add the plugin to your serverless config:

plugins:
  - serverless-loggroup-deletion-policy
  - ...any other plugins

Then configure the plugin as follows:

custom:
  logGroupDeletionPolicy:
    keepLambdaLogs: true # or false

Credits

This plugin is based off of xoeye/serverless-log-keeper. Due to the number of changes that were required for this plugin to work as I needed, it would be closer to a rewrite than a PR. Therefore, I decided to fork it. The original work was very useful in getting this plugin up and running.

License

See the LICENSE file for license rights and limitations (MIT).

Package Sidebar

Install

npm i serverless-loggroup-deletion-policy

Weekly Downloads

12

Version

1.1.1

License

SEE LICENSE IN LICENSE.md

Unpacked Size

19.3 kB

Total Files

5

Last publish

Collaborators

  • perrin4869