Created
November 6, 2020 16:28
-
-
Save amacal/5ffb7e1852155c8d952581162166910a to your computer and use it in GitHub Desktop.
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" "orders_to_process_subscription" { | |
protocol = "sqs" | |
raw_message_delivery = true | |
topic_arn = aws_sns_topic.orders.arn | |
endpoint = aws_sqs_queue.orders_to_process.arn | |
} | |
resource "aws_sns_topic_subscription" "orders_to_notify_subscription" { | |
protocol = "sqs" | |
raw_message_delivery = true | |
topic_arn = aws_sns_topic.orders.arn | |
endpoint = aws_sqs_queue.orders_to_notify.arn | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment