Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 933 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 933 Bytes

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