Skip to content

Commit c78f280

Browse files
[PRM-552] Add eventbridge to virus scan trigger (#453)
1 parent 046df00 commit c78f280

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

infrastructure/lambda-document-upload-check.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ data "aws_security_groups" "virus_scanner_api" {
4848
}
4949

5050
resource "aws_s3_bucket_notification" "document_upload_check_lambda_trigger" {
51-
bucket = module.ndr-bulk-staging-store.bucket_id
51+
bucket = module.ndr-bulk-staging-store.bucket_id
52+
eventbridge = true
5253
lambda_function {
5354
lambda_function_arn = module.document_upload_check_lambda.lambda_arn
5455
events = ["s3:ObjectCreated:*"]

0 commit comments

Comments
 (0)