We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b42a86d commit 780e13cCopy full SHA for 780e13c
modules/infrastructure/sqs-sns-subscription/main.tf
@@ -23,6 +23,11 @@ data "aws_iam_policy_document" "this" {
23
identifiers = ["sns.amazonaws.com"]
24
type = "Service"
25
}
26
+ condition {
27
+ test = "ArnEquals"
28
+ variable = "aws:SourceArn"
29
+ values = [var.sns_topic_arn]
30
+ }
31
actions = [
32
"sqs:SendMessage",
33
"sqs:SendMessageBatch"
0 commit comments