Skip to content

Commit d97cbad

Browse files
committed
CCM-13768: add fetch from s3
1 parent 528ef46 commit d97cbad

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

infrastructure/terraform/components/dl/module_lambda_print_analyser.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,17 @@ data "aws_iam_policy_document" "print_analyser" {
8383
module.sqs_print_analyser.sqs_queue_arn,
8484
]
8585
}
86+
87+
statement {
88+
sid = "S3PermissionsPrintAnalyserQueue"
89+
effect = "Allow"
90+
91+
actions = [
92+
"s3:GetObject",
93+
]
94+
95+
resources = [
96+
"${module.s3bucket_file_safe.arn}/*",
97+
]
98+
}
8699
}

0 commit comments

Comments
 (0)