Hey everyone! Pulumi provides a way to modify outp...
# general
b
Hey everyone! Pulumi provides a way to modify output using apply(), as described in docs:
let url = virtualmachine.dnsName.apply(dnsName => "https://" + dnsName);
Problem is - it doesn't really work for more than one Output<T> var. Here's what I'm trying to do: `'iam.gke.io/gcp-service-account': `${gcpSA.name}@${gcpProject}.iam.gserviceaccount.com`` When this code gets executed, I get an error saying:
Calling [toString] on an [Output<T>] is not supported
Is it possible to somehow run apply() on more than one variable, or is there another solution to my problem?
t
try pulumi.Output.concat
p
b
@thousands-camera-45384 @prehistoric-nail-50687 thanks a bunch 🙂