serverless-s3-emptier

1.1.0 • Public • Published

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.

/serverless-s3-emptier/

    Package Sidebar

    Install

    npm i serverless-s3-emptier

    Weekly Downloads

    4

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    5.19 kB

    Total Files

    4

    Last publish

    Collaborators

    • ulrichvdh