cold-motherboard-287
07/01/2021, 4:46 PMasync
"things" happening inside of a ComponentResource? I need to use await and inside of the constructor, AFAIK, is not possible.brave-planet-10645
07/01/2021, 5:21 PMpulumi.output()
(instead of await)cold-motherboard-287
07/01/2021, 7:40 PMgetCluster
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
const r = new MyResource();
await r.ready
it's suboptimal... but seems to be the most reasonably way