maybe this is worth a separate question: how do I ...
# azure
a
maybe this is worth a separate question: how do I make a pulumi resource depend on a (Azure native) `WebApp`not just having been provisioned, but having started?
t
You’d have to write custom code if you need that. As soon as Azure reports the resource as success, it’s provisioned for Pulumi and we don’t know anything about “started”.
a
ok
h
Wouldn't the output
availability_state
provide something?
t
Whatever the output value is, it would resolve at the time when provisioning is done and won’t change until the next refresh or update operation.
h
Valid point, but was wondering if one could use
getWebApp
and hence the
availability_state
and then chain the dependency
a
that is indeed an interesting idea, @high-leather-15669, I will try that and give feedback if it works. will take a day, though, probably.