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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Ulrich Van Den Hekke 6a2d33b0f7 feat: add keywords 3 months ago
.gitignore feat: first serverless plugin to remove content of s3 bucket 3 months ago
README.md fix: add dependencies to the bucket via ref 3 months ago
index.js fix: add dependencies to the bucket via ref 3 months ago
package-lock.json feat: first serverless plugin to remove content of s3 bucket 3 months ago
package.json feat: add keywords 3 months ago
purge_s3.js feat: first serverless plugin to remove content of s3 bucket 3 months ago

README.md

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.