Skip to content

Commit

Permalink
Merge branch 'mr/forestier/fix-sqs-subscription' into 'master'
Browse files Browse the repository at this point in the history
Fix sns subscription and activate raw message delivery needed by Amazon sqs

See merge request it/e3-aws!4
  • Loading branch information
jeromef853 committed Jul 16, 2024
2 parents e0a9160 + 07de42a commit c4222ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/e3/aws/troposphere/sqs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def subscribe_to_sns_topic(
"Endpoint": self.arn,
"Protocol": "sqs",
"TopicArn": topic_arn,
"RawMessageDelivery": True,
}

if delivery_policy:
Expand Down
1 change: 1 addition & 0 deletions tests/tests_e3_aws/troposphere/sqs/sqs_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"Endpoint": {"Fn::GetAtt": ["Myqueue", "Arn"]},
"Protocol": "sqs",
"TopicArn": "some_topic_arn",
"RawMessageDelivery": True,
},
"Type": "AWS::SNS::Subscription",
},
Expand Down

0 comments on commit c4222ac

Please sign in to comment.