diff --git a/top.yaml b/top.yaml index 3aa5d8d..96fd56d 100644 --- a/top.yaml +++ b/top.yaml @@ -44,3 +44,11 @@ Resources: Principal: sns.amazonaws.com SourceArn: !Ref SnsTopic FunctionName: !GetAtt CreateIssueLambda.Arn + + SnsLambdaSubscription: + Type: AWS::SNS::Subscription + Properties: + Endpoint: !GetAtt CreateIssueLambda.Arn + Protocol: lambda + TopicArn: !Ref SnsTopic +