Browse Source

Generic arn

Fred Damstra 5 years ago
parent
commit
9006ab03a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sns_error_notification.py

+ 1 - 1
sns_error_notification.py

@@ -54,7 +54,7 @@ def sns_error_notification(function_name):
                       )
             # Only happens if there was an exception
             snsclient.publish(
-                TopicArn='arn:aws:sns:us-east-2:082012130604:lambda-errors',
+                TopicArn=sns_arn,
                 Subject=subject,
                 Message=message
             )