https://pulumi.com logo
Title
g

gorgeous-country-43026

05/27/2021, 10:15 AM
Hmm, any way for me to reliably wait for
azure.network.PublicIPAddress
to populate in such a way that it will always have the IP address available under
ipAddress
property? It's type signature in TS is
Output<string | undefined>
which I'm assuming is due to the fact that this output won't wait until it has got the IP address?
I'm now trying to circumvent this by waiting for a later resource "just in case" but this is kinda ugly and forces me to do stuff like
ingressLoadbalancerIP.ipAddress.apply(addr => addr || 'NOT_AVAILABLE_YET')
g

gorgeous-country-43026

05/27/2021, 10:29 AM
Interesting
That is indeed much better even if that too is a bit wonky
Cheers