Skip to content

Commit 5745321

Browse files
authored
[NDR-285] Trigger virus scan lambda on PDM upload (#473)
1 parent a06efbe commit 5745321

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

infrastructure/lambda-document-upload-check.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ resource "aws_s3_bucket_notification" "document_upload_check_lambda_trigger" {
6060
events = ["s3:ObjectCreated:*"]
6161
filter_prefix = "user_upload"
6262
}
63+
64+
lambda_function {
65+
lambda_function_arn = module.document_upload_check_lambda.lambda_arn
66+
events = ["s3:ObjectCreated:*"]
67+
filter_prefix = "fhir_upload"
68+
}
6369
}
6470

6571
resource "aws_lambda_permission" "document_upload_check_lambda" {

0 commit comments

Comments
 (0)