sinofseven / serverless-s3-remover

this is plugin of serverless, before "sls remove", this empties the s3 bucket.
MIT License
39 stars 11 forks source link

Add option to empty bucket on deployment #19

Open aslafy-z opened 4 years ago

aslafy-z commented 4 years ago

I would use an option that force emptying the bucket at deploy time.

cklam2 commented 4 years ago

Yeah that would be very useful feature. In our case we need it during an "upgrade" in the case that the bucket has received a new bucket name. So during the upgrade the stack should be able to remove the original bucket and it can only do that when it's empty.

coyoteecd commented 3 years ago

@aslafy-z Due to lack of response from project author, I reimplemented this plugin and published it to npm, including the option you were asking for, see my comments in #22.