This message was deleted.
# general
s
This message was deleted.
b
I've had success wrapping the awaited call in
pulumi.output()
(instead of await)
it'll convert it to an output, but that's one way of doing it
Also, promises will still work
c
that doesn't work for me... I need to get a parameter from AWS' parameter store and then use it as a parameter to look for an EKS instance. But the
getCluster
API requires a
string
and not an
Output<string>
I've seen some patterns like having a promise field in the ComponentResource and then do
Copy code
const r = new MyResource();
await r.ready
it's suboptimal... but seems to be the most reasonably way