This message was deleted.
# typescript
s
This message was deleted.
e
arn
is an output, you can't use that with backtick formatting. Look at the docs at https://www.pulumi.com/docs/concepts/inputs-outputs/#outputs-and-strings and for JSON policies like this https://www.pulumi.com/docs/concepts/inputs-outputs/#outputs-and-json
s
@echoing-dinner-19531 Yeah, I wrapped my whole stack in a
const main = async () => {} …
construct and made the wrong assumption that a
const bucket = await new aws.s3.bucket()
would resolve the Promise/Output.
Happy layer 8 problem on my side. Still learning the details about TypeScript every day
e
Yeh no worries, output values are the most unusual part of the Pulumi SDKs. Nearly everyone trips up on them first day.
s
Hehe, yes. I thought I had mastered them, but my naive thinking of await new .. threw me off track. 🙂