Created
May 27, 2020 08:35
-
-
Save timo-boehm/100e5f89f604886f873afaa512b74256 to your computer and use it in GitHub Desktop.
Terraform Snippet for Subscription to SNS Topic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_sns_topic_subscription" "sns_to_lambda" { | |
topic_arn = aws_sns_topic.lambda_trigger.arn | |
protocol = "lambda" | |
endpoint = aws_lambda_function.triggered_process.arn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment