The lack of top-level await is definitely unfortun...
# general
b
The lack of top-level await is definitely unfortunate for cases like this. We've been discussing ways to make this easier -- https://github.com/pulumi/pulumi/issues/1611 lists a few approaches that work today, plus some ideas on how we might make it better. Hopefully one of the workarounds unsticks you and any feedback on that issue is appreciated.