Socket
Socket
Sign inDemoInstall

serverless-delete-loggroups

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serverless-delete-loggroups

Delete all Loggroups for Breaking change of Serverlessv1.6


Version published
Maintainers
1
Install size
1.95 MB
Created

Readme

Source

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.

FAQs

Last updated on 15 Jun 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc