This message was deleted.
s
This message was deleted.
m
Infact, does
output()
do this itself (ofc without the stringify) https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#output
deeply unwrapping nested Input values as necessary
Yes, that works.
pulumi.output(obj).apply(uObj => JSON.stringify(uObj))
l
I wrote a tiny utility that simplifies the common case of having to put many values into a single stringify. It's easy with pulumi.all, but it's very messy and hard to read. This allows you to add multiple outputs, then stringify using them all.