This message was deleted.
# general
s
This message was deleted.
a
Pulumi outputs expose an
apply
method, which works like
map
or
then
on some other types of containers. Here: https://www.pulumi.com/docs/intro/concepts/programming-model/#apply You can
apply
a function over that output and produce a PushEndpoint inside another output. In general, outputs are allowed as arguments to other Pulumi resources.
h
this still doesnt let me use this value as a parameter to
PushEndpoint
a
Hmm, I believe you're using the Go SDK, right?
h
the return value of
ApplyString
is still
StringOutput
and
PushEnpoint
takes
string
yes, it's Go SDK
Solved, I was using wrong type....
a
Cool. I'm not familiar with either the Go SDK, nor the GCP provider. I tried to look up something in the docs, but my Go foo is too weak 🙂