https://github.com/serverless-operations/serverless-delete-loggroups
Delete all Loggroups for the breaking change of Serverlessv1.6
https://github.com/serverless-operations/serverless-delete-loggroups
Last synced: about 1 year ago
JSON representation
Delete all Loggroups for the breaking change of Serverlessv1.6
- Host: GitHub
- URL: https://github.com/serverless-operations/serverless-delete-loggroups
- Owner: serverless-operations
- Created: 2017-01-31T03:39:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-26T01:34:34.000Z (about 4 years ago)
- Last Synced: 2025-04-05T04:08:38.423Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 15
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```yaml
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.