sparse-intern-71089
10/06/2021, 4:16 PMsteep-toddler-94095
10/06/2021, 4:47 PMaccountId
is a Promise<string>
so you can't so a comparison with a string
in your if
. You'll need to do this comparison in a context where the promise is unwrapped, either within a .then
or after the variable is `await`edlittle-cartoon-10569
10/06/2021, 9:33 PMpulumi.getStack()
returns a simple string.