This message was deleted.
# general
s
This message was deleted.
1
l
Output the result of the check. Do the check inside the apply, and output either the correct value, or the correct "there is no value" value (in typescript, that would be undefined).
s
That makes sense, I’ll give that a shot, thanks
👍 1
r
Copy code
url = svc.statuses.apply(lambda statuses: statuses[0].url if statuses else None)
pulumi.export("url", url)
👍 2
s
That worked, thanks! ✌️
partypus 8bit 1