Struggling again to get a value unwrapped from an ...
# typescript
l
Struggling again to get a value unwrapped from an Output. I have an
Output<string>
coming from
StackReference.requireOutput(<key>)
. I now need the
string
value so I can pass it as one of the properties to
azure.network.getVirtualNetwork({ string, string })
. How can I do that?
l
If the parameter is a
string
and not a
pulumi.Input<string>
then your best bet is to use
StackReference.requireOutputValue
and then either
await
or
then
.