https://pulumi.com logo
#docs
Title
# docs
e

early-apple-25248

03/03/2020, 5:36 PM
Question: Is https://github.com/pulumi/pulumi-aws/blob/master/sdk/nodejs/sns/topicSubscription.ts#L84 accurate? The docs say it should be an ARN, but the actual code looks like its using
pulumi.Output<Topic>
, not the ARN. I stumbled across this looking at this section of the lambda docs: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/lambda/#usage-with-sns - the example code passes
Copy code
topic: defaultTopic.arn,
but this causes errors in my IDE (as well as at compile time)
w

white-balloon-205

03/03/2020, 8:14 PM
Yes - that is indeed wrong. This will be fixed with https://github.com/pulumi/pulumi-aws/pull/876. Cc @broad-dog-22463 .
b

broad-dog-22463

03/03/2020, 8:19 PM
FYI that’s on the list to be closed out this week!!
e

early-apple-25248

03/03/2020, 10:52 PM
Awesome, thanks y'all!