Skip to content

serverless-operations/serverless-delete-loggroups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serverless Delete Loggroups

There are cases in which it is necessary to delete all log groups when upgrading to Serverless 1.6. This plugin can delete all log groups of the Lambda function described in serverless.yml

Install

Run npm install in your Serverless project.

$ npm install serverless-delete-loggroups

Add the plugin to your serverless.yml file

plugins:
  - serverless-delete-loggroups

Command

LogGroups are deleted as follow:

$ sls remove logs

options

  • --stage or -s The stage in your service you want to delete.
  • --region or -r The region in your stage that you want to delete.

About

Delete all Loggroups for the breaking change of Serverlessv1.6

Resources

Stars

Watchers

Forks

Packages

No packages published