faint-motherboard-95438
12/20/2018, 8:47 PMindex.ts
I’m creating first a gke cluster then I’m adding the external dns Chart
. Problem is, the chart needs the k8sProvider
from the Cluster
, or pulumi is running both in parallel, which of course makes the Chart
accounts and roles creation fail. I tried to add my cluster object to the dependsOn
key of the Chart
opts
but it doesn’t wait for it anyway. How can I ensure something is created before anything else depending on it runs ? I thought it would be automatic by referencing the provider from the cluster, but it’s not.faint-motherboard-95438
12/20/2018, 9:38 PMundefined
because of an error I did, but there was no clue at all about it. Maybe you should ensure when someone sets a provider(s)
value in the opts
of a component it is defined in since there’s no point to provide an undefined value voluntarily here.white-balloon-205
x: undefined
is treated the same as leaving x
out of the object in the first place. This helps with compositionally. We'd be violating that equivalence if we errored in this case. Probably still worth doing that though to make this easier to discover/debug.faint-motherboard-95438
12/21/2018, 9:05 AMkubectl
config if there’s no provider).