We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d7836d commit f3f0fb7Copy full SHA for f3f0fb7
1 file changed
infrastructure/terraform/components/dl/module_sqs_move_scanned_files.tf
@@ -34,5 +34,11 @@ data "aws_iam_policy_document" "sqs_move_scanned_files" {
34
resources = [
35
"arn:aws:sqs:${var.region}:${var.aws_account_id}:${local.csi}-move-scanned-files-queue"
36
]
37
+
38
+ condition {
39
+ test = "ArnLike"
40
+ variable = "aws:SourceArn"
41
+ values = [ "arn:aws:events:${var.region}:${var.aws_account_id}:event-bus/${var.default_cloudwatch_event_bus_name}" ]
42
+ }
43
}
44
0 commit comments