This message was deleted.
# general
s
This message was deleted.
b
You can use
dependsOn
to specify that you want to wait for a resource to be done before starting the dependent resource. I don't know how accurate the checking of a state is with that, and I suspect that it's going to be whatever Alicloud reports back to the provider but that might get you started. https://www.pulumi.com/docs/intro/concepts/programming-model/#dependson
We do as much as we can asynchronously, but that causes some things to be created/updated synchronously
a
Ah! I totaly forgot about dependsOn 🙂
thx Piers
b
Caveat: Alicloud might report back to Pulumi that the resource is ready, although it might not be in the state that you want.
👀 1
a
I would except that on Ali... 😉
m
AWS does exactly that with EKS load balancers -- it reports resource creation as complete before the LB is in a ready state. It's a pain to deal with 🙄
b
I've seen it with Lambdas as well on AWS