1.1.0 • Published 2 years ago

serverless-s3-emptier v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Serverless Plugin

The goal of this plugin is clean up S3 Bucket before the Cloudformation delete it. This plugin can be used on Bucket that contains static file that can be regenerated.

Don't use this plugin on data bucket.

This plugin use a custom resource to ensure that the entire stack can be deleted only from cloudformation without calling serverless remove.

Usage

custom:
  s3Emptier:
    - S3Bucket

The array contains the name of the resource in CloudFormation.