https://pulumi.com logo
f

full-dress-10026

09/25/2018, 10:31 PM
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

aloof-tailor-93191

09/25/2018, 10:52 PM
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