This message was deleted.
# general
s
This message was deleted.
w
The best bet for this today is dynamic providers. These provide a way for you to define create,read,update,and delete behaviors for your own kind of resource. If that resource depends on the instance, it will have to be destroyed first, so your custom logic for delete can do whatever it needs to do. See https://www.pulumi.com/blog/dynamic-providers/ and https://www.pulumi.com/docs/intro/concepts/programming-model/#dynamicproviders.
g
f
Do you have any examples of this such as the pre destroy and then post destroy?
Seems like a lot of work where I would think it should be built in.