https://pulumi.com logo
#general
Title
# general
f

full-dress-10026

12/04/2018, 10:51 PM
I have this code which is supposed to create a SNS subscription:
Copy code
let alertsTopicSubscription = new aws.sns.TopicSubscription("alerts-lambda-subscription", {
    topic: alertsSnsTopic,
    protocol: "lambda",
    endpoint: "my-lambda-arn" 
});
However, if I go to the AWS console, the Lambda function does not have the SNS topic listed as a trigger. Is there another step I need to perform to get this to work as expected?