Skip to content

Commit 0c60d68

Browse files
committed
[PRMP-586] Restrict S3 access to specific bucket for document review process
Signed-off-by: NogaNHS <[email protected]>
1 parent 63ad956 commit 0c60d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ resource "aws_iam_policy" "s3_document_data_policy_get_document_review_lambda" {
299299
"Action" : [
300300
"s3:GetObject",
301301
],
302-
"Resource" : ["*"]
302+
"Resource" : ["${module.ndr-document-pending-review-store.bucket_arn}/*"]
303303
}
304304
]
305305
})

0 commit comments

Comments
 (0)