From dfbc0332512d5ea81ae4d7a9fed066c4c27fd753 Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Thu, 21 May 2026 14:24:52 +0100 Subject: [PATCH 1/4] CCM-14782: Lambda Alarms --- .../components/dl/module_lambda_apim_key_generation.tf | 2 +- .../terraform/components/dl/module_lambda_apim_refresh_token.tf | 2 +- .../terraform/components/dl/module_lambda_core_notifier.tf | 2 +- .../terraform/components/dl/module_lambda_file_scanner.tf | 2 +- .../terraform/components/dl/module_lambda_mesh_acknowledge.tf | 2 +- .../terraform/components/dl/module_lambda_mesh_download.tf | 2 +- .../terraform/components/dl/module_lambda_mesh_poll.tf | 2 +- .../terraform/components/dl/module_lambda_move_scanned_files.tf | 2 +- .../components/dl/module_lambda_nhsapp_status_handler.tf | 2 +- .../terraform/components/dl/module_lambda_pdm_mock.tf | 2 +- .../terraform/components/dl/module_lambda_pdm_poll.tf | 2 +- .../terraform/components/dl/module_lambda_pdm_uploader.tf | 2 +- .../terraform/components/dl/module_lambda_print_analyser.tf | 2 +- .../terraform/components/dl/module_lambda_print_sender.tf | 2 +- .../components/dl/module_lambda_print_status_handler.tf | 2 +- .../components/dl/module_lambda_report_event_transformer.tf | 2 +- .../terraform/components/dl/module_lambda_report_generator.tf | 2 +- .../terraform/components/dl/module_lambda_report_scheduler.tf | 2 +- .../terraform/components/dl/module_lambda_report_sender.tf | 2 +- .../terraform/components/dl/module_lambda_ttl_create.tf | 2 +- .../terraform/components/dl/module_lambda_ttl_handle_expiry.tf | 2 +- .../terraform/components/dl/module_lambda_ttl_poll.tf | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf b/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf index 05089b792..041a4d21a 100644 --- a/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf +++ b/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf @@ -1,5 +1,5 @@ module "lambda_apim_key_generation" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "apim-key-generation" description = "A function to generate APIM public and private keys" diff --git a/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf b/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf index c50902761..6578adb9d 100644 --- a/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf +++ b/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf @@ -1,5 +1,5 @@ module "lambda_lambda_apim_refresh_token" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "apim-refresh-token" description = "A function to generate APIM access tokens" diff --git a/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf b/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf index 24284fede..7b6d74ef8 100644 --- a/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf +++ b/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf @@ -1,5 +1,5 @@ module "core_notifier" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "core-notifier" description = "A function to send messages to core Notify when a PDM resource is available" diff --git a/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf b/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf index 337ec7359..fe870356a 100644 --- a/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf +++ b/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf @@ -1,5 +1,5 @@ module "file_scanner" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "file-scanner" description = "A function for extracting PDFs from DocumentReference and storing in UnscannedFiles bucket for virus scanning" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf index 38b2b6448..02f3bae75 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf @@ -1,5 +1,5 @@ module "mesh_acknowledge" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "mesh-acknowledge" description = "A lambda function for acknowledging MESH messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf index c126c38ef..4f1483e57 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf @@ -1,5 +1,5 @@ module "mesh_download" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "mesh-download" description = "A lambda function for downloading MESH messages and storing in S3" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf index 7f068717a..9f6632e58 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf @@ -1,5 +1,5 @@ module "mesh_poll" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "mesh-poll" description = "A lambda function for polling MESH inbox for new messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf b/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf index 7484fe44e..7722a2149 100644 --- a/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf +++ b/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf @@ -1,5 +1,5 @@ module "move_scanned_files" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "move-scanned-files" description = "A function that handles GuardDuty Malware Protection Object Scan Result and depending on the result moves objects from the unscanned bucket to the file safe or quarantined bucket. " diff --git a/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf b/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf index e656f1b3f..da3a3fc7c 100644 --- a/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf @@ -1,5 +1,5 @@ module "nhsapp_status_handler" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "nhsapp-status-handler" description = "A function for handling NHS app status" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf index 2290c5638..202640bf2 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf @@ -1,6 +1,6 @@ module "pdm_mock" { count = var.enable_pdm_mock ? 1 : 0 - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "pdm-mock" description = "A lambda function for mocking PDM (Patient Data Manager) API endpoints" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf index a3b703a84..8eedc3f20 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf @@ -1,5 +1,5 @@ module "pdm_poll" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "pdm-poll" description = "A function for polling PDM document status" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf index 5c3d305d9..b39e20335 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf @@ -1,5 +1,5 @@ module "pdm_uploader" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "pdm-uploader" description = "A function to upload documents to PDM" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf b/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf index a72acec32..660db346f 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf @@ -1,5 +1,5 @@ module "print_analyser" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "print-analyser" description = "A function for processing file safe events" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_sender.tf b/infrastructure/terraform/components/dl/module_lambda_print_sender.tf index 6f85b0604..6972602e1 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_sender.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_sender.tf @@ -1,5 +1,5 @@ module "print_sender" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "print-sender" description = "A function to trigger letter prints" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf b/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf index 245f42f2f..a8ce2b464 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf @@ -1,5 +1,5 @@ module "print_status_handler" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "print-status-handler" description = "A function for processing letter printing statuses" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf b/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf index fdb17fa36..ce51eebb2 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf @@ -1,5 +1,5 @@ module "report_event_transformer" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "report-event-transformer" description = "A function for transforming all digital letter events" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_generator.tf b/infrastructure/terraform/components/dl/module_lambda_report_generator.tf index e8fc2734b..28515091f 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_generator.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_generator.tf @@ -1,5 +1,5 @@ module "report_generator" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "report-generator" description = "A function to generate reports from an event" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf b/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf index 67de1c80d..ba935aba7 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf @@ -1,5 +1,5 @@ module "report_scheduler" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "report-scheduler" description = "A function for triggering reports" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_sender.tf b/infrastructure/terraform/components/dl/module_lambda_report_sender.tf index ba038392f..e65743209 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_sender.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_sender.tf @@ -1,5 +1,5 @@ module "report_sender" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "report-sender" description = "A lambda function for sending reports to Trusts via MESH messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf index d0eac037e..a97e5a2ec 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf @@ -1,5 +1,5 @@ module "ttl_create" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "ttl-create" description = "A function for creating TTL records" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf index 08a35f25d..7fd0e2d0e 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf @@ -1,5 +1,5 @@ module "ttl_handle_expiry" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "ttl-handle-expiry" description = "A function for handling deleted TTL records" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf index 164d88e39..759df9139 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf @@ -1,5 +1,5 @@ module "ttl_poll" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" function_name = "ttl-poll" description = "A function for deleting any overdue TTL records" From 6d00f3a8ddbc676fa1d6668bac9490ced8591f0b Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Thu, 21 May 2026 14:25:06 +0100 Subject: [PATCH 2/4] CCM-14782: Lambda Alarms --- .../terraform/components/dl/README.md | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/infrastructure/terraform/components/dl/README.md b/infrastructure/terraform/components/dl/README.md index 8e169b050..75b6a84cb 100644 --- a/infrastructure/terraform/components/dl/README.md +++ b/infrastructure/terraform/components/dl/README.md @@ -66,27 +66,27 @@ No requirements. | Name | Source | Version | |------|--------|---------| -| [core\_notifier](#module\_core\_notifier) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | +| [core\_notifier](#module\_core\_notifier) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | | [eventpub](#module\_eventpub) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-eventpub.zip | n/a | -| [file\_scanner](#module\_file\_scanner) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | +| [file\_scanner](#module\_file\_scanner) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | | [kms](#module\_kms) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-kms.zip | n/a | -| [lambda\_apim\_key\_generation](#module\_lambda\_apim\_key\_generation) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [lambda\_lambda\_apim\_refresh\_token](#module\_lambda\_lambda\_apim\_refresh\_token) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [mesh\_acknowledge](#module\_mesh\_acknowledge) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [mesh\_download](#module\_mesh\_download) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [mesh\_poll](#module\_mesh\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [move\_scanned\_files](#module\_move\_scanned\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [nhsapp\_status\_handler](#module\_nhsapp\_status\_handler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [pdm\_mock](#module\_pdm\_mock) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [pdm\_poll](#module\_pdm\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [pdm\_uploader](#module\_pdm\_uploader) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [print\_analyser](#module\_print\_analyser) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [print\_sender](#module\_print\_sender) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [print\_status\_handler](#module\_print\_status\_handler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [report\_event\_transformer](#module\_report\_event\_transformer) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [report\_generator](#module\_report\_generator) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [report\_scheduler](#module\_report\_scheduler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [report\_sender](#module\_report\_sender) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | +| [lambda\_apim\_key\_generation](#module\_lambda\_apim\_key\_generation) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [lambda\_lambda\_apim\_refresh\_token](#module\_lambda\_lambda\_apim\_refresh\_token) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [mesh\_acknowledge](#module\_mesh\_acknowledge) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [mesh\_download](#module\_mesh\_download) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [mesh\_poll](#module\_mesh\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [move\_scanned\_files](#module\_move\_scanned\_files) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [nhsapp\_status\_handler](#module\_nhsapp\_status\_handler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [pdm\_mock](#module\_pdm\_mock) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [pdm\_poll](#module\_pdm\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [pdm\_uploader](#module\_pdm\_uploader) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [print\_analyser](#module\_print\_analyser) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [print\_sender](#module\_print\_sender) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [print\_status\_handler](#module\_print\_status\_handler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [report\_event\_transformer](#module\_report\_event\_transformer) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [report\_generator](#module\_report\_generator) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [report\_scheduler](#module\_report\_scheduler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [report\_sender](#module\_report\_sender) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | | [s3bucket\_file\_quarantine](#module\_s3bucket\_file\_quarantine) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-s3bucket.zip | n/a | | [s3bucket\_file\_safe](#module\_s3bucket\_file\_safe) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.3/terraform-s3bucket.zip | n/a | | [s3bucket\_letters](#module\_s3bucket\_letters) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-s3bucket.zip | n/a | @@ -110,9 +110,9 @@ No requirements. | [sqs\_scanner](#module\_sqs\_scanner) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | | [sqs\_ttl](#module\_sqs\_ttl) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | | [sqs\_ttl\_handle\_expiry\_errors](#module\_sqs\_ttl\_handle\_expiry\_errors) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | -| [ttl\_create](#module\_ttl\_create) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [ttl\_handle\_expiry](#module\_ttl\_handle\_expiry) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | -| [ttl\_poll](#module\_ttl\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip | n/a | +| [ttl\_create](#module\_ttl\_create) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [ttl\_handle\_expiry](#module\_ttl\_handle\_expiry) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [ttl\_poll](#module\_ttl\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | ## Outputs | Name | Description | From e6ee3a3456d99f461eca0cea1f3933198ba12c36 Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Thu, 21 May 2026 14:37:05 +0100 Subject: [PATCH 3/4] CCM-14782: Lambda Alarms --- package-lock.json | 139 ---------------------------------------------- 1 file changed, 139 deletions(-) diff --git a/package-lock.json b/package-lock.json index e5f263e90..8581d8d50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -226,7 +226,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -523,7 +522,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -831,7 +829,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -1135,7 +1132,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -1748,7 +1744,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -2049,7 +2044,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -2629,7 +2623,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -3206,7 +3199,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -3517,7 +3509,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -3813,7 +3804,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -4970,7 +4960,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -5272,7 +5261,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -5914,7 +5902,6 @@ "node_modules/@aws-sdk/client-dynamodb": { "version": "3.981.0", "license": "Apache-2.0", - "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -7697,7 +7684,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" }, @@ -7719,7 +7705,6 @@ } ], "license": "MIT", - "peer": true, "engines": { "node": ">=18" } @@ -9455,7 +9440,6 @@ "version": "30.2.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/environment": "30.2.0", "@jest/expect": "30.2.0", @@ -9947,7 +9931,6 @@ "version": "15.5.11", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-glob": "3.3.1" } @@ -11435,7 +11418,6 @@ "version": "3.1.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/utils": "^8.13.0", "eslint-visitor-keys": "^4.2.0", @@ -12047,7 +12029,6 @@ "integrity": "sha512-DpzbrH7wIcBaJibpKo9nnSQL0MTRdnWttGyE5haGwK86xgMOkFLp7vEyfQPGLOJh5wNYiJ3V9PmUMDhV9u8kkQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "undici-types": "~7.18.0" } @@ -12914,7 +12895,6 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -12967,7 +12947,6 @@ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -13292,7 +13271,6 @@ "version": "4.1.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/sinon": "^17.0.3", "sinon": "^18.0.1", @@ -13580,7 +13558,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -13809,7 +13786,6 @@ "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-12.0.0.tgz", "integrity": "sha512-csJvb+6kEiQaqo1woTdSAuOWdN0WTLIydkKrBnS+V5gZz0oqBrp4kQ35519QgK6TpBThiG3V1vNSHlIkv4AglQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@chevrotain/cst-dts-gen": "12.0.0", "@chevrotain/gast": "12.0.0", @@ -14342,7 +14318,6 @@ "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.33.3.tgz", "integrity": "sha512-Gej7U+OKR+LZ8kvX7rb2HhCYJ0IhvEFsnkud4SB1PR+BUY/TsSO0dmOW59WEVLu51b1Rm+gQRKoz4bLYxGSZ2g==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10" } @@ -14743,7 +14718,6 @@ "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz", "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==", "license": "ISC", - "peer": true, "engines": { "node": ">=12" } @@ -15518,7 +15492,6 @@ "version": "9.39.2", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", @@ -15711,7 +15684,6 @@ "version": "10.1.8", "dev": true, "license": "MIT", - "peer": true, "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -15767,7 +15739,6 @@ "version": "4.4.4", "dev": true, "license": "ISC", - "peer": true, "dependencies": { "debug": "^4.4.1", "eslint-import-context": "^0.1.8", @@ -15836,7 +15807,6 @@ "version": "2.32.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.9", @@ -15869,7 +15839,6 @@ "version": "4.16.1", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/types": "^8.35.0", "comment-parser": "^1.4.1", @@ -15961,7 +15930,6 @@ "version": "6.10.2", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "aria-query": "^5.3.2", "array-includes": "^3.1.8", @@ -16024,7 +15992,6 @@ "version": "7.37.5", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", @@ -16056,7 +16023,6 @@ "version": "5.2.0", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10" }, @@ -17179,7 +17145,6 @@ "integrity": "sha512-5bJ+nf/UCpAjHM8i06fl7eLyVC9iuNAjm9qzkiu2ZGhM0VscSvS6WDPfAwkdkBuoXGM9FJSbKl6wylMwP9Ktig==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" } @@ -18136,7 +18101,6 @@ "version": "30.2.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "30.2.0", "@jest/types": "30.2.0", @@ -18467,13 +18431,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-circus/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-cli": { "version": "30.2.0", "dev": true, @@ -19197,13 +19154,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-config/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-diff": { "version": "29.7.0", "dev": true, @@ -19351,13 +19301,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-each/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-environment-jsdom": { "version": "30.2.0", "dev": true, @@ -19543,13 +19486,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-environment-node/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-get-type": { "version": "29.6.3", "dev": true, @@ -19938,13 +19874,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-leak-detector/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-matcher-utils": { "version": "29.7.0", "dev": true, @@ -20238,13 +20167,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-resolve-dependencies/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-resolve/node_modules/@jest/schemas": { "version": "29.6.3", "dev": true, @@ -20485,13 +20407,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runner/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-runtime": { "version": "29.7.0", "dev": true, @@ -20749,13 +20664,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/jest-runtime/node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true, - "license": "MIT" - }, "node_modules/jest-snapshot": { "version": "30.2.0", "dev": true, @@ -21263,7 +21171,6 @@ "version": "26.1.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "cssstyle": "^4.2.1", "data-urls": "^5.0.0", @@ -21301,7 +21208,6 @@ "node_modules/jsep": { "version": "1.4.0", "license": "MIT", - "peer": true, "engines": { "node": ">= 10.16.0" } @@ -23129,7 +23035,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", @@ -23234,7 +23139,6 @@ "node_modules/prettier": { "version": "3.8.1", "license": "MIT", - "peer": true, "bin": { "prettier": "bin/prettier.cjs" }, @@ -23784,23 +23688,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rimraf/node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true, - "license": "MIT" - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.0.tgz", - "integrity": "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, "node_modules/rimraf/node_modules/glob": { "version": "10.5.0", "dev": true, @@ -23820,22 +23707,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "9.0.9", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", - "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.2" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/robust-predicates": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", @@ -24002,7 +23873,6 @@ "integrity": "sha512-kgW13M54DUB7IsIRM5LvJkNlpH+WhMpooUcaWGFARkF1Tc82v9mIWkCbCYf+MBvpIUBSeSOTilpZjEPr2VYE6Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "chokidar": "^4.0.0", "immutable": "^5.1.5", @@ -25259,7 +25129,6 @@ "version": "10.9.2", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", "@tsconfig/node10": "^1.0.7", @@ -25970,7 +25839,6 @@ "version": "5.9.3", "dev": true, "license": "Apache-2.0", - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -25983,7 +25851,6 @@ "version": "8.54.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@typescript-eslint/eslint-plugin": "8.54.0", "@typescript-eslint/parser": "8.54.0", @@ -26312,7 +26179,6 @@ "integrity": "sha512-wGN3qcrBQIFmQ/c0AiOAQBvrZ5lmY8vbbMv4Mxfgzqd/B6+9pXtLo73WuS1dSGXM5QYY3hZnIbvx+K1xxe6FyA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -26361,7 +26227,6 @@ "integrity": "sha512-pIDJHIEI9LR0yxHXQ+Qh95k2EvXpWzZ5l+d+jIo+RdSm9MiHfzazIxwwni/p7+x4eJZuvG1AJwgC4TNQ7NRgsg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.5.0", "@webpack-cli/configtest": "^2.1.1", @@ -28389,7 +28254,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", @@ -28600,7 +28464,6 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/client-dynamodb/-/client-dynamodb-3.1000.0.tgz", "integrity": "sha512-S0M9ndVgGiupQEX9M6yLIKx2Iw1Z/lnZR1j5guuR76sqteQM6jsQseTJepq0hJ9SGGpzSwMucYJxETQDHsgFhQ==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "5.2.0", "@aws-crypto/sha256-js": "5.2.0", @@ -28654,7 +28517,6 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.1000.0.tgz", "integrity": "sha512-7kPy33qNGq3NfwHC0412T6LDK1bp4+eiPzetX0sVd9cpTSXuQDKpoOFnB0Njj6uZjJDcLS3n2OeyarwwgkQ0Ow==", "license": "Apache-2.0", - "peer": true, "dependencies": { "@aws-crypto/sha1-browser": "5.2.0", "@aws-crypto/sha256-browser": "5.2.0", @@ -28923,7 +28785,6 @@ "version": "29.7.0", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@jest/core": "^29.7.0", "@jest/types": "^29.6.3", From 3b79a19232bf512e027440478526d7ccdafce1c8 Mon Sep 17 00:00:00 2001 From: jamesthompson26-nhs Date: Fri, 22 May 2026 09:33:38 +0100 Subject: [PATCH 4/4] CCM-14782: Lambda Alarms --- .../terraform/components/dl/README.md | 44 +++++++++---------- .../dl/module_lambda_apim_key_generation.tf | 2 +- .../dl/module_lambda_apim_refresh_token.tf | 2 +- .../dl/module_lambda_core_notifier.tf | 2 +- .../dl/module_lambda_file_scanner.tf | 2 +- .../dl/module_lambda_mesh_acknowledge.tf | 2 +- .../dl/module_lambda_mesh_download.tf | 2 +- .../components/dl/module_lambda_mesh_poll.tf | 2 +- .../dl/module_lambda_move_scanned_files.tf | 2 +- .../dl/module_lambda_nhsapp_status_handler.tf | 2 +- .../components/dl/module_lambda_pdm_mock.tf | 2 +- .../components/dl/module_lambda_pdm_poll.tf | 2 +- .../dl/module_lambda_pdm_uploader.tf | 2 +- .../dl/module_lambda_print_analyser.tf | 2 +- .../dl/module_lambda_print_sender.tf | 2 +- .../dl/module_lambda_print_status_handler.tf | 2 +- .../module_lambda_report_event_transformer.tf | 2 +- .../dl/module_lambda_report_generator.tf | 2 +- .../dl/module_lambda_report_scheduler.tf | 2 +- .../dl/module_lambda_report_sender.tf | 2 +- .../components/dl/module_lambda_ttl_create.tf | 2 +- .../dl/module_lambda_ttl_handle_expiry.tf | 2 +- .../components/dl/module_lambda_ttl_poll.tf | 2 +- 23 files changed, 44 insertions(+), 44 deletions(-) diff --git a/infrastructure/terraform/components/dl/README.md b/infrastructure/terraform/components/dl/README.md index 75b6a84cb..218f0930a 100644 --- a/infrastructure/terraform/components/dl/README.md +++ b/infrastructure/terraform/components/dl/README.md @@ -66,27 +66,27 @@ No requirements. | Name | Source | Version | |------|--------|---------| -| [core\_notifier](#module\_core\_notifier) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [core\_notifier](#module\_core\_notifier) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | | [eventpub](#module\_eventpub) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-eventpub.zip | n/a | -| [file\_scanner](#module\_file\_scanner) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [file\_scanner](#module\_file\_scanner) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | | [kms](#module\_kms) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-kms.zip | n/a | -| [lambda\_apim\_key\_generation](#module\_lambda\_apim\_key\_generation) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [lambda\_lambda\_apim\_refresh\_token](#module\_lambda\_lambda\_apim\_refresh\_token) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [mesh\_acknowledge](#module\_mesh\_acknowledge) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [mesh\_download](#module\_mesh\_download) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [mesh\_poll](#module\_mesh\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [move\_scanned\_files](#module\_move\_scanned\_files) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [nhsapp\_status\_handler](#module\_nhsapp\_status\_handler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [pdm\_mock](#module\_pdm\_mock) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [pdm\_poll](#module\_pdm\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [pdm\_uploader](#module\_pdm\_uploader) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [print\_analyser](#module\_print\_analyser) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [print\_sender](#module\_print\_sender) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [print\_status\_handler](#module\_print\_status\_handler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [report\_event\_transformer](#module\_report\_event\_transformer) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [report\_generator](#module\_report\_generator) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [report\_scheduler](#module\_report\_scheduler) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [report\_sender](#module\_report\_sender) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [lambda\_apim\_key\_generation](#module\_lambda\_apim\_key\_generation) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [lambda\_lambda\_apim\_refresh\_token](#module\_lambda\_lambda\_apim\_refresh\_token) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [mesh\_acknowledge](#module\_mesh\_acknowledge) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [mesh\_download](#module\_mesh\_download) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [mesh\_poll](#module\_mesh\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [move\_scanned\_files](#module\_move\_scanned\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [nhsapp\_status\_handler](#module\_nhsapp\_status\_handler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [pdm\_mock](#module\_pdm\_mock) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [pdm\_poll](#module\_pdm\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [pdm\_uploader](#module\_pdm\_uploader) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [print\_analyser](#module\_print\_analyser) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [print\_sender](#module\_print\_sender) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [print\_status\_handler](#module\_print\_status\_handler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [report\_event\_transformer](#module\_report\_event\_transformer) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [report\_generator](#module\_report\_generator) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [report\_scheduler](#module\_report\_scheduler) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [report\_sender](#module\_report\_sender) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | | [s3bucket\_file\_quarantine](#module\_s3bucket\_file\_quarantine) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-s3bucket.zip | n/a | | [s3bucket\_file\_safe](#module\_s3bucket\_file\_safe) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.3/terraform-s3bucket.zip | n/a | | [s3bucket\_letters](#module\_s3bucket\_letters) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-s3bucket.zip | n/a | @@ -110,9 +110,9 @@ No requirements. | [sqs\_scanner](#module\_sqs\_scanner) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | | [sqs\_ttl](#module\_sqs\_ttl) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | | [sqs\_ttl\_handle\_expiry\_errors](#module\_sqs\_ttl\_handle\_expiry\_errors) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.1.4/terraform-sqs.zip | n/a | -| [ttl\_create](#module\_ttl\_create) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [ttl\_handle\_expiry](#module\_ttl\_handle\_expiry) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | -| [ttl\_poll](#module\_ttl\_poll) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda | feature/CCM-14782_Lambda_Alarms | +| [ttl\_create](#module\_ttl\_create) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [ttl\_handle\_expiry](#module\_ttl\_handle\_expiry) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | +| [ttl\_poll](#module\_ttl\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip | n/a | ## Outputs | Name | Description | diff --git a/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf b/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf index 041a4d21a..52d2bcb96 100644 --- a/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf +++ b/infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf @@ -1,5 +1,5 @@ module "lambda_apim_key_generation" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "apim-key-generation" description = "A function to generate APIM public and private keys" diff --git a/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf b/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf index 6578adb9d..c303dff3c 100644 --- a/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf +++ b/infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf @@ -1,5 +1,5 @@ module "lambda_lambda_apim_refresh_token" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "apim-refresh-token" description = "A function to generate APIM access tokens" diff --git a/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf b/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf index 7b6d74ef8..dc2c2412a 100644 --- a/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf +++ b/infrastructure/terraform/components/dl/module_lambda_core_notifier.tf @@ -1,5 +1,5 @@ module "core_notifier" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "core-notifier" description = "A function to send messages to core Notify when a PDM resource is available" diff --git a/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf b/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf index fe870356a..242e7316b 100644 --- a/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf +++ b/infrastructure/terraform/components/dl/module_lambda_file_scanner.tf @@ -1,5 +1,5 @@ module "file_scanner" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "file-scanner" description = "A function for extracting PDFs from DocumentReference and storing in UnscannedFiles bucket for virus scanning" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf index 02f3bae75..2de68f7d3 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf @@ -1,5 +1,5 @@ module "mesh_acknowledge" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "mesh-acknowledge" description = "A lambda function for acknowledging MESH messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf index 4f1483e57..ccb2cd3fa 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_download.tf @@ -1,5 +1,5 @@ module "mesh_download" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "mesh-download" description = "A lambda function for downloading MESH messages and storing in S3" diff --git a/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf b/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf index 9f6632e58..f57a2ae98 100644 --- a/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf @@ -1,5 +1,5 @@ module "mesh_poll" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "mesh-poll" description = "A lambda function for polling MESH inbox for new messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf b/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf index 7722a2149..dd3930022 100644 --- a/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf +++ b/infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf @@ -1,5 +1,5 @@ module "move_scanned_files" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "move-scanned-files" description = "A function that handles GuardDuty Malware Protection Object Scan Result and depending on the result moves objects from the unscanned bucket to the file safe or quarantined bucket. " diff --git a/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf b/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf index da3a3fc7c..bed77eeb8 100644 --- a/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_nhsapp_status_handler.tf @@ -1,5 +1,5 @@ module "nhsapp_status_handler" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "nhsapp-status-handler" description = "A function for handling NHS app status" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf index 202640bf2..e448489f9 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_mock.tf @@ -1,6 +1,6 @@ module "pdm_mock" { count = var.enable_pdm_mock ? 1 : 0 - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "pdm-mock" description = "A lambda function for mocking PDM (Patient Data Manager) API endpoints" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf index 8eedc3f20..020721ca8 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_poll.tf @@ -1,5 +1,5 @@ module "pdm_poll" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "pdm-poll" description = "A function for polling PDM document status" diff --git a/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf b/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf index b39e20335..6c4f7e8a4 100644 --- a/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf +++ b/infrastructure/terraform/components/dl/module_lambda_pdm_uploader.tf @@ -1,5 +1,5 @@ module "pdm_uploader" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "pdm-uploader" description = "A function to upload documents to PDM" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf b/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf index 660db346f..af25b7aeb 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_analyser.tf @@ -1,5 +1,5 @@ module "print_analyser" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "print-analyser" description = "A function for processing file safe events" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_sender.tf b/infrastructure/terraform/components/dl/module_lambda_print_sender.tf index 6972602e1..bea7e4f65 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_sender.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_sender.tf @@ -1,5 +1,5 @@ module "print_sender" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "print-sender" description = "A function to trigger letter prints" diff --git a/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf b/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf index a8ce2b464..232b54a67 100644 --- a/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_print_status_handler.tf @@ -1,5 +1,5 @@ module "print_status_handler" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "print-status-handler" description = "A function for processing letter printing statuses" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf b/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf index ce51eebb2..f437ff3d8 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_event_transformer.tf @@ -1,5 +1,5 @@ module "report_event_transformer" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "report-event-transformer" description = "A function for transforming all digital letter events" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_generator.tf b/infrastructure/terraform/components/dl/module_lambda_report_generator.tf index 28515091f..03dc95a3b 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_generator.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_generator.tf @@ -1,5 +1,5 @@ module "report_generator" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "report-generator" description = "A function to generate reports from an event" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf b/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf index ba935aba7..045182378 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_scheduler.tf @@ -1,5 +1,5 @@ module "report_scheduler" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "report-scheduler" description = "A function for triggering reports" diff --git a/infrastructure/terraform/components/dl/module_lambda_report_sender.tf b/infrastructure/terraform/components/dl/module_lambda_report_sender.tf index e65743209..1b47f0934 100644 --- a/infrastructure/terraform/components/dl/module_lambda_report_sender.tf +++ b/infrastructure/terraform/components/dl/module_lambda_report_sender.tf @@ -1,5 +1,5 @@ module "report_sender" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "report-sender" description = "A lambda function for sending reports to Trusts via MESH messages" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf index a97e5a2ec..dfbb89ed8 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_create.tf @@ -1,5 +1,5 @@ module "ttl_create" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "ttl-create" description = "A function for creating TTL records" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf index 7fd0e2d0e..34972df40 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_handle_expiry.tf @@ -1,5 +1,5 @@ module "ttl_handle_expiry" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "ttl-handle-expiry" description = "A function for handling deleted TTL records" diff --git a/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf b/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf index 759df9139..9ff1879d1 100644 --- a/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf +++ b/infrastructure/terraform/components/dl/module_lambda_ttl_poll.tf @@ -1,5 +1,5 @@ module "ttl_poll" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/terraform/modules/lambda?ref=feature/CCM-14782_Lambda_Alarms" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/4.0.2/terraform-lambda.zip" function_name = "ttl-poll" description = "A function for deleting any overdue TTL records"