https://pulumi.com logo
#general
Title
# general
s

some-doctor-62800

08/29/2019, 4:53 PM
So I have the following, we recreate a k8s cluster in a parent stack (because many changes require that). Cluster gets replaced, all is good. However a child stack (a separate pulumi run) that depends on this cluster (and created resources in it) will keep thinking it has many resources deployed in a cluster that's now deleted. This means the provider already fails to connect, breaking the state of the child stack quite severely.
@white-balloon-205 any advice on how to keep stacks in sync?
How do you even express dependencies like this. some parent stack deleting everything that roots child stack resources (at runtime)
it would be very helpful to have an easy way of removing everything depending on a specific provider id as a temporary measure