https://pulumi.com logo
#typescript
Title
# typescript
l

little-market-63455

06/01/2021, 4:05 PM
Hi folks, another question. I guess top-level await support is still not upon us correct? At least this issue doesn't seem to provide a solution just yet
Mainly asking because I ran into the scenario where I want to embed the AWS region name in the bucket name and that one returns a
Promise<T>
, so I ended up wrapping that in an
Output<T>
and using
apply()
to create the bucket
b

brave-planet-10645

06/01/2021, 4:23 PM
That is correct. And you're doing things in the correct Pulumi way
l

little-market-63455

06/01/2021, 4:24 PM
Thanks for the encouragement @brave-planet-10645
I must admit I am having trouble here and there due to this mainly but I am learning my way around