Skip to content

Commit

Permalink
Minor: Merge pull request #101 from reflexivesecurity/multi-account
Browse files Browse the repository at this point in the history
Add in raw message delivery for subscription call
  • Loading branch information
rjulian authored Sep 27, 2020
2 parents 533d595 + 228ede9 commit 8b15bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sns_cross_account_sqs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ data "aws_iam_policy_document" "sns_topic_policy" {
}
resource "null_resource" "sqs_account_subscribe" {
provisioner "local-exec" {
command = "aws sns subscribe --topic-arn $SNS_TOPIC_ARN --protocol sqs --notification-endpoint $SQS_QUEUE"
command = "aws sns subscribe --topic-arn $SNS_TOPIC_ARN --protocol sqs --notification-endpoint $SQS_QUEUE --attributes RawMessageDelivery=true"

environment = {
SNS_TOPIC_ARN = aws_sns_topic.forwarder_topic.arn
Expand Down

0 comments on commit 8b15bc0

Please sign in to comment.