Is there an option to say “delete EVERYTHING (=Dat...
# help
d
Is there an option to say “delete EVERYTHING (=Databases, S3, Logs, Policies, etc) if stage is not production).
f
If the stage is not production, do this:
app.setDefaultRemovalPolicy(RemovalPolicy.DESTROY);
d
I tried that one, seems to not be working
Or maybe it doesn’t work when the delete is due to a failing stack? I have about 15 buckets right now, everytime my stack fails it deletes my bucket.
f
What is not being deleted?