From c1ee811aaf3b1efba06c03389b01cbb2a929b116 Mon Sep 17 00:00:00 2001 From: adamwhitingnhs Date: Mon, 6 Oct 2025 11:15:23 +0100 Subject: [PATCH] [PRM-552] Add eventbridge to virus scan trigger --- infrastructure/lambda-document-upload-check.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure/lambda-document-upload-check.tf b/infrastructure/lambda-document-upload-check.tf index d430f3c62..e68b25855 100644 --- a/infrastructure/lambda-document-upload-check.tf +++ b/infrastructure/lambda-document-upload-check.tf @@ -48,7 +48,8 @@ data "aws_security_groups" "virus_scanner_api" { } resource "aws_s3_bucket_notification" "document_upload_check_lambda_trigger" { - bucket = module.ndr-bulk-staging-store.bucket_id + bucket = module.ndr-bulk-staging-store.bucket_id + eventbridge = true lambda_function { lambda_function_arn = module.document_upload_check_lambda.lambda_arn events = ["s3:ObjectCreated:*"]