Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
01/21/2020, 8:39 PM
This message was deleted.
w
white-balloon-205
01/21/2020, 8:50 PM
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
gorgeous-egg-16927
01/21/2020, 8:51 PM
You might also want to take a look at
https://www.pulumi.com/blog/day-2-kubernetes-migrating-eks-nodegroups-with-zero-downtime/
f
fast-dinner-32080
01/22/2020, 5:40 PM
Do you have any examples of this such as the pre destroy and then post destroy?
fast-dinner-32080
01/22/2020, 5:41 PM
Seems like a lot of work where I would think it should be built in.
Open in Slack
Previous
Next