Skip to content

A simple plugin that deletes all files from deployment bucket before deleting the application

License

Notifications You must be signed in to change notification settings

Drafteame/serverless-plugin-s3-remover

Repository files navigation

serverless-plugin-s3-remover

A Simple serverless plugin that helps to empty the deployment bucket before removing the stack.

Requirements

AWS Policies

The following AWS permissions are required for this plugin to work:

  • s3:ListAllMyBuckets
  • s3:ListBucket
  • s3:DeleteObject
  • s3:DeleteBucket

Installation

Install the plugin via npm:

npm install --save-dev serverless-plugin-s3-remover

Add the plugin to your serverless.yml file:

plugins:
  - serverless-plugin-s3-remover

Execution

The plugin will run automatically when you run serverless remove command.

About

A simple plugin that deletes all files from deployment bucket before deleting the application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •