Skip to content

sparkleformation/sfn-bucketpurge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bucket purge for sfn

Simple callback for sfn which will run before executing the destroy command. It will search the stack for bucket resources and delete all files within any found buckets.

Usage

Setup

First add the sfn-bucketpurge gem to the local bundle (in the ./Gemfile):

group :sfn do
  gem 'sfn-bucketpurge'
end

Then enable the sfn-bucketpurge callback in the .sfn configuration file:

Configuration.new do
  ...
  callbacks do
    require ['sfn-bucketpurge']
    default ['bucket_purge']
  end
end

Info

About

Purge buckets prior to stack destroy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages