Hmm I could probably make that work but it's not i...
# general
f
Hmm I could probably make that work but it's not ideal. Is there a way to run some code that only executes after a resource has been created (not updated or deleted)?
a
I'm interested in this too
Something like lifecycle hooks
onCreate, onUpdate, onDelete
I'm also interested in beforeCreate, beforeUpdate, and beforeDelete
use case: you can't delete an S3 bucket unless it's empty, so a
beforeDelete
would be nice to have a hook to clean it out