From 6225615aff751ed166388bce56ba103616d2e4b1 Mon Sep 17 00:00:00 2001 From: Michael Harrison Date: Tue, 23 Dec 2025 11:13:37 +0000 Subject: [PATCH 1/2] CCM-13638: use updated sqs module --- .tool-versions | 4 ++-- infrastructure/terraform/modules/backend-api/README.md | 10 +++++----- .../module_sqs_routing_config_table_events_pipe_dlq.tf | 2 +- .../backend-api/module_sqs_sftp_upload_queue.tf | 2 +- .../backend-api/module_sqs_template_mgmt_events.tf | 2 +- .../module_sqs_template_table_events_pipe_dlq.tf | 2 +- .../module_sqs_validate_letter_template_files.tf | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.tool-versions b/.tool-versions index 9f69be6f1..7dbf3ab68 100644 --- a/.tool-versions +++ b/.tool-versions @@ -13,8 +13,8 @@ python 3.13.2 # The section below is reserved for Docker image versions. # TODO: Move this section - consider using a different file for the repository template dependencies. -# docker/ghcr.io/anchore/grype v0.92.2@sha256:651e558f9ba84f2a790b3449c8a57cbbf4f34e004f7d3f14ae8f8cbeede4cd33 # SEE: https://github.com/anchore/grype/pkgs/container/grype -# docker/ghcr.io/anchore/syft v1.26.0@sha256:de078f51704a213906970b1475edd6006b8af50aa159852e125518237487b8c6 # SEE: https://github.com/anchore/syft/pkgs/container/syft +# docker/ghcr.io/anchore/grype v0.104.3@sha256:d340f4f8b3b7e6e72a6c9c0152f25402ed8a2d7375dba1dfce4e53115242feb6 # SEE: https://github.com/anchore/grype/pkgs/container/grype +# docker/ghcr.io/anchore/syft v1.39.0@sha256:6f13bb010923c33fb197047c8f88888e77071bd32596b3f605d62a133e493ce4 # SEE: https://github.com/anchore/syft/pkgs/container/syft # docker/ghcr.io/gitleaks/gitleaks v8.24.0@sha256:2bcceac45179b3a91bff11a824d0fb952585b429e54fc928728b1d4d5c3e5176 # SEE: https://github.com/gitleaks/gitleaks/pkgs/container/gitleaks # docker/ghcr.io/igorshubovych/markdownlint-cli v0.37.0@sha256:fb3e79946fce78e1cde84d6798c6c2a55f2de11fc16606a40d49411e281d950d # SEE: https://github.com/igorshubovych/markdownlint-cli/pkgs/container/markdownlint-cli # docker/ghcr.io/make-ops-tools/gocloc latest@sha256:6888e62e9ae693c4ebcfed9f1d86c70fd083868acb8815fe44b561b9a73b5032 # SEE: https://github.com/make-ops-tools/gocloc/pkgs/container/gocloc diff --git a/infrastructure/terraform/modules/backend-api/README.md b/infrastructure/terraform/modules/backend-api/README.md index c16878af7..91b3fb0f5 100644 --- a/infrastructure/terraform/modules/backend-api/README.md +++ b/infrastructure/terraform/modules/backend-api/README.md @@ -59,11 +59,11 @@ No requirements. | [s3bucket\_download](#module\_s3bucket\_download) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | | [s3bucket\_internal](#module\_s3bucket\_internal) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | | [s3bucket\_quarantine](#module\_s3bucket\_quarantine) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | -| [sqs\_routing\_config\_table\_events\_pipe\_dlq](#module\_sqs\_routing\_config\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip | n/a | -| [sqs\_sftp\_upload](#module\_sqs\_sftp\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip | n/a | -| [sqs\_template\_mgmt\_events](#module\_sqs\_template\_mgmt\_events) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip | n/a | -| [sqs\_template\_table\_events\_pipe\_dlq](#module\_sqs\_template\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip | n/a | -| [sqs\_validate\_letter\_template\_files](#module\_sqs\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip | n/a | +| [sqs\_routing\_config\_table\_events\_pipe\_dlq](#module\_sqs\_routing\_config\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | +| [sqs\_sftp\_upload](#module\_sqs\_sftp\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | +| [sqs\_template\_mgmt\_events](#module\_sqs\_template\_mgmt\_events) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | +| [sqs\_template\_table\_events\_pipe\_dlq](#module\_sqs\_template\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | +| [sqs\_validate\_letter\_template\_files](#module\_sqs\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | | [submit\_routing\_config\_lambda](#module\_submit\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | | [submit\_template\_lambda](#module\_submit\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | | [update\_routing\_config\_lambda](#module\_update\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf b/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf index 66e46d66c..229be30bc 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf @@ -1,5 +1,5 @@ module "sqs_routing_config_table_events_pipe_dlq" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf b/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf index 1e6cf40c4..87f4ff8f6 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf @@ -1,5 +1,5 @@ module "sqs_sftp_upload" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf b/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf index 643930816..cf8f988a3 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf @@ -1,5 +1,5 @@ module "sqs_template_mgmt_events" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf b/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf index b40b220e9..497e0e2bf 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf @@ -1,5 +1,5 @@ module "sqs_template_table_events_pipe_dlq" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf b/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf index d65428d19..4ebcb5f18 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf @@ -1,5 +1,5 @@ module "sqs_validate_letter_template_files" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component From 8b4aea0353ee681565b61e0080a5696c123a4bae Mon Sep 17 00:00:00 2001 From: Michael Harrison Date: Tue, 23 Dec 2025 12:49:37 +0000 Subject: [PATCH 2/2] CCM-13638: update eventpub and lambda module versions --- .../terraform/components/app/README.md | 4 +- .../app/module_download_authorizer_lambda.tf | 2 +- .../components/app/module_eventpub.tf | 2 +- .../terraform/modules/backend-api/README.md | 60 +++++++++---------- .../backend-api/module_authorizer_lambda.tf | 2 +- .../module_count_routing_configs_lambda.tf | 2 +- .../module_create_routing_config_lambda.tf | 2 +- .../module_create_template_lambda.tf | 2 +- .../module_delete_routing_config_lambda.tf | 2 +- .../module_delete_template_lambda.tf | 2 +- .../backend-api/module_get_client_lambda.tf | 2 +- .../module_get_routing_config_lambda.tf | 2 +- .../backend-api/module_get_template_lambda.tf | 2 +- ..._lambda_copy_scanned_object_to_internal.tf | 2 +- ...ule_lambda_delete_failed_scanned_object.tf | 2 +- .../module_lambda_event_publisher.tf | 2 +- .../module_lambda_process_proof.tf | 2 +- .../module_lambda_request_proof.tf | 2 +- ...etter_file_virus_scan_status_for_upload.tf | 2 +- .../backend-api/module_lambda_sftp_poll.tf | 2 +- .../module_lambda_sftp_request_proof.tf | 2 +- ...e_lambda_validate_letter_template_files.tf | 2 +- .../module_list_routing_configs_lambda.tf | 2 +- .../module_list_template_lambda.tf | 2 +- ...qs_routing_config_table_events_pipe_dlq.tf | 17 +++--- .../module_sqs_sftp_upload_queue.tf | 2 +- .../module_sqs_template_mgmt_events.tf | 2 +- ...dule_sqs_template_table_events_pipe_dlq.tf | 17 +++--- ...dule_sqs_validate_letter_template_files.tf | 2 +- .../module_submit_routing_config_lambda.tf | 2 +- .../module_submit_template_lambda.tf | 2 +- .../module_update_routing_config_lambda.tf | 2 +- .../module_update_template_lambda.tf | 2 +- .../module_upload_letter_template_lambda.tf | 2 +- .../modules/cognito-triggers/README.md | 4 +- .../module_pre_authentication_lambda.tf | 2 +- .../module_pre_token_generation_lambda.tf | 2 +- 37 files changed, 84 insertions(+), 82 deletions(-) diff --git a/infrastructure/terraform/components/app/README.md b/infrastructure/terraform/components/app/README.md index 4dbff40d1..9dfed2430 100644 --- a/infrastructure/terraform/components/app/README.md +++ b/infrastructure/terraform/components/app/README.md @@ -50,8 +50,8 @@ |------|--------|---------| | [amplify\_branch](#module\_amplify\_branch) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-amp_branch.zip | n/a | | [backend\_api](#module\_backend\_api) | ../../modules/backend-api | n/a | -| [download\_authorizer\_lambda](#module\_download\_authorizer\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [eventpub](#module\_eventpub) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub | v2.0.19 | +| [download\_authorizer\_lambda](#module\_download\_authorizer\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [eventpub](#module\_eventpub) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub | v2.0.28 | | [kms](#module\_kms) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-kms.zip | n/a | | [kms\_us\_east\_1](#module\_kms\_us\_east\_1) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-kms.zip | n/a | | [nhse\_backup\_vault](#module\_nhse\_backup\_vault) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.25/terraform-aws-backup-source.zip | n/a | diff --git a/infrastructure/terraform/components/app/module_download_authorizer_lambda.tf b/infrastructure/terraform/components/app/module_download_authorizer_lambda.tf index d90047b89..b3df4edce 100644 --- a/infrastructure/terraform/components/app/module_download_authorizer_lambda.tf +++ b/infrastructure/terraform/components/app/module_download_authorizer_lambda.tf @@ -1,5 +1,5 @@ module "download_authorizer_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" providers = { aws = aws.us-east-1 diff --git a/infrastructure/terraform/components/app/module_eventpub.tf b/infrastructure/terraform/components/app/module_eventpub.tf index ebb9cea48..053ca496c 100644 --- a/infrastructure/terraform/components/app/module_eventpub.tf +++ b/infrastructure/terraform/components/app/module_eventpub.tf @@ -1,6 +1,6 @@ module "eventpub" { # TODO CCM-12089 - move to zip release after fix from the ticket - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub?ref=v2.0.19" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub?ref=v2.0.28" name = "eventpub" diff --git a/infrastructure/terraform/modules/backend-api/README.md b/infrastructure/terraform/modules/backend-api/README.md index 91b3fb0f5..c5336b9d6 100644 --- a/infrastructure/terraform/modules/backend-api/README.md +++ b/infrastructure/terraform/modules/backend-api/README.md @@ -36,39 +36,39 @@ No requirements. | Name | Source | Version | |------|--------|---------| -| [authorizer\_lambda](#module\_authorizer\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [count\_routing\_configs\_lambda](#module\_count\_routing\_configs\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [create\_routing\_config\_lambda](#module\_create\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [create\_template\_lambda](#module\_create\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [delete\_routing\_config\_lambda](#module\_delete\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [delete\_template\_lambda](#module\_delete\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [get\_client\_lambda](#module\_get\_client\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [get\_routing\_config\_lambda](#module\_get\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [get\_template\_lambda](#module\_get\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_copy\_scanned\_object\_to\_internal](#module\_lambda\_copy\_scanned\_object\_to\_internal) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_delete\_failed\_scanned\_object](#module\_lambda\_delete\_failed\_scanned\_object) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_event\_publisher](#module\_lambda\_event\_publisher) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_process\_proof](#module\_lambda\_process\_proof) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_set\_file\_virus\_scan\_status\_for\_upload](#module\_lambda\_set\_file\_virus\_scan\_status\_for\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_sftp\_poll](#module\_lambda\_sftp\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_sftp\_request\_proof](#module\_lambda\_sftp\_request\_proof) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [lambda\_validate\_letter\_template\_files](#module\_lambda\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [list\_routing\_configs\_lambda](#module\_list\_routing\_configs\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [list\_template\_lambda](#module\_list\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [request\_proof\_lambda](#module\_request\_proof\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | +| [authorizer\_lambda](#module\_authorizer\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [count\_routing\_configs\_lambda](#module\_count\_routing\_configs\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [create\_routing\_config\_lambda](#module\_create\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [create\_template\_lambda](#module\_create\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [delete\_routing\_config\_lambda](#module\_delete\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [delete\_template\_lambda](#module\_delete\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [get\_client\_lambda](#module\_get\_client\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [get\_routing\_config\_lambda](#module\_get\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [get\_template\_lambda](#module\_get\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_copy\_scanned\_object\_to\_internal](#module\_lambda\_copy\_scanned\_object\_to\_internal) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_delete\_failed\_scanned\_object](#module\_lambda\_delete\_failed\_scanned\_object) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_event\_publisher](#module\_lambda\_event\_publisher) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_process\_proof](#module\_lambda\_process\_proof) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_set\_file\_virus\_scan\_status\_for\_upload](#module\_lambda\_set\_file\_virus\_scan\_status\_for\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_sftp\_poll](#module\_lambda\_sftp\_poll) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_sftp\_request\_proof](#module\_lambda\_sftp\_request\_proof) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [lambda\_validate\_letter\_template\_files](#module\_lambda\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [list\_routing\_configs\_lambda](#module\_list\_routing\_configs\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [list\_template\_lambda](#module\_list\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [request\_proof\_lambda](#module\_request\_proof\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | | [s3bucket\_download](#module\_s3bucket\_download) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | | [s3bucket\_internal](#module\_s3bucket\_internal) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | | [s3bucket\_quarantine](#module\_s3bucket\_quarantine) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.20/terraform-s3bucket.zip | n/a | -| [sqs\_routing\_config\_table\_events\_pipe\_dlq](#module\_sqs\_routing\_config\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | -| [sqs\_sftp\_upload](#module\_sqs\_sftp\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | -| [sqs\_template\_mgmt\_events](#module\_sqs\_template\_mgmt\_events) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | -| [sqs\_template\_table\_events\_pipe\_dlq](#module\_sqs\_template\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | -| [sqs\_validate\_letter\_template\_files](#module\_sqs\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip | n/a | -| [submit\_routing\_config\_lambda](#module\_submit\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [submit\_template\_lambda](#module\_submit\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [update\_routing\_config\_lambda](#module\_update\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [update\_template\_lambda](#module\_update\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [upload\_letter\_template\_lambda](#module\_upload\_letter\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | +| [sqs\_routing\_config\_table\_events\_pipe\_dlq](#module\_sqs\_routing\_config\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip | n/a | +| [sqs\_sftp\_upload](#module\_sqs\_sftp\_upload) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip | n/a | +| [sqs\_template\_mgmt\_events](#module\_sqs\_template\_mgmt\_events) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip | n/a | +| [sqs\_template\_table\_events\_pipe\_dlq](#module\_sqs\_template\_table\_events\_pipe\_dlq) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip | n/a | +| [sqs\_validate\_letter\_template\_files](#module\_sqs\_validate\_letter\_template\_files) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip | n/a | +| [submit\_routing\_config\_lambda](#module\_submit\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [submit\_template\_lambda](#module\_submit\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [update\_routing\_config\_lambda](#module\_update\_routing\_config\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [update\_template\_lambda](#module\_update\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [upload\_letter\_template\_lambda](#module\_upload\_letter\_template\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | ## Outputs | Name | Description | diff --git a/infrastructure/terraform/modules/backend-api/module_authorizer_lambda.tf b/infrastructure/terraform/modules/backend-api/module_authorizer_lambda.tf index 509d1a3d9..28bed1fed 100644 --- a/infrastructure/terraform/modules/backend-api/module_authorizer_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_authorizer_lambda.tf @@ -1,5 +1,5 @@ module "authorizer_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_count_routing_configs_lambda.tf b/infrastructure/terraform/modules/backend-api/module_count_routing_configs_lambda.tf index a0f8c5fff..225f857f3 100644 --- a/infrastructure/terraform/modules/backend-api/module_count_routing_configs_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_count_routing_configs_lambda.tf @@ -1,5 +1,5 @@ module "count_routing_configs_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_create_routing_config_lambda.tf b/infrastructure/terraform/modules/backend-api/module_create_routing_config_lambda.tf index 91a25cbe1..60273f43f 100644 --- a/infrastructure/terraform/modules/backend-api/module_create_routing_config_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_create_routing_config_lambda.tf @@ -1,5 +1,5 @@ module "create_routing_config_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_create_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_create_template_lambda.tf index feb397c25..51a0cf8d5 100644 --- a/infrastructure/terraform/modules/backend-api/module_create_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_create_template_lambda.tf @@ -1,5 +1,5 @@ module "create_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_delete_routing_config_lambda.tf b/infrastructure/terraform/modules/backend-api/module_delete_routing_config_lambda.tf index cdfaf2bd0..f91d87188 100644 --- a/infrastructure/terraform/modules/backend-api/module_delete_routing_config_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_delete_routing_config_lambda.tf @@ -1,5 +1,5 @@ module "delete_routing_config_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_delete_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_delete_template_lambda.tf index 7eb1c932e..0cb82aa6a 100644 --- a/infrastructure/terraform/modules/backend-api/module_delete_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_delete_template_lambda.tf @@ -1,5 +1,5 @@ module "delete_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_get_client_lambda.tf b/infrastructure/terraform/modules/backend-api/module_get_client_lambda.tf index b81c44d54..355f1491b 100644 --- a/infrastructure/terraform/modules/backend-api/module_get_client_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_get_client_lambda.tf @@ -1,5 +1,5 @@ module "get_client_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_get_routing_config_lambda.tf b/infrastructure/terraform/modules/backend-api/module_get_routing_config_lambda.tf index 301ead0c6..03f4610dc 100644 --- a/infrastructure/terraform/modules/backend-api/module_get_routing_config_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_get_routing_config_lambda.tf @@ -1,5 +1,5 @@ module "get_routing_config_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_get_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_get_template_lambda.tf index 25961348f..57c156fed 100644 --- a/infrastructure/terraform/modules/backend-api/module_get_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_get_template_lambda.tf @@ -1,5 +1,5 @@ module "get_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_copy_scanned_object_to_internal.tf b/infrastructure/terraform/modules/backend-api/module_lambda_copy_scanned_object_to_internal.tf index da13d22e3..82b3fd090 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_copy_scanned_object_to_internal.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_copy_scanned_object_to_internal.tf @@ -1,5 +1,5 @@ module "lambda_copy_scanned_object_to_internal" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_delete_failed_scanned_object.tf b/infrastructure/terraform/modules/backend-api/module_lambda_delete_failed_scanned_object.tf index ced25446e..7866962e6 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_delete_failed_scanned_object.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_delete_failed_scanned_object.tf @@ -1,5 +1,5 @@ module "lambda_delete_failed_scanned_object" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_event_publisher.tf b/infrastructure/terraform/modules/backend-api/module_lambda_event_publisher.tf index 20248a29c..c9b2ee3c1 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_event_publisher.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_event_publisher.tf @@ -1,5 +1,5 @@ module "lambda_event_publisher" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf b/infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf index c2cc97892..a09f3078f 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_process_proof.tf @@ -1,5 +1,5 @@ module "lambda_process_proof" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_request_proof.tf b/infrastructure/terraform/modules/backend-api/module_lambda_request_proof.tf index 7301a99db..7a8240dea 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_request_proof.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_request_proof.tf @@ -1,5 +1,5 @@ module "request_proof_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_set_letter_file_virus_scan_status_for_upload.tf b/infrastructure/terraform/modules/backend-api/module_lambda_set_letter_file_virus_scan_status_for_upload.tf index 20b7f943b..5ab6856ea 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_set_letter_file_virus_scan_status_for_upload.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_set_letter_file_virus_scan_status_for_upload.tf @@ -1,5 +1,5 @@ module "lambda_set_file_virus_scan_status_for_upload" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_sftp_poll.tf b/infrastructure/terraform/modules/backend-api/module_lambda_sftp_poll.tf index 9830a9a4d..7d3c74dff 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_sftp_poll.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_sftp_poll.tf @@ -1,5 +1,5 @@ module "lambda_sftp_poll" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_sftp_request_proof.tf b/infrastructure/terraform/modules/backend-api/module_lambda_sftp_request_proof.tf index 71d661056..7c474182c 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_sftp_request_proof.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_sftp_request_proof.tf @@ -1,5 +1,5 @@ module "lambda_sftp_request_proof" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_lambda_validate_letter_template_files.tf b/infrastructure/terraform/modules/backend-api/module_lambda_validate_letter_template_files.tf index 836dbecbd..df733acc5 100644 --- a/infrastructure/terraform/modules/backend-api/module_lambda_validate_letter_template_files.tf +++ b/infrastructure/terraform/modules/backend-api/module_lambda_validate_letter_template_files.tf @@ -1,5 +1,5 @@ module "lambda_validate_letter_template_files" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_list_routing_configs_lambda.tf b/infrastructure/terraform/modules/backend-api/module_list_routing_configs_lambda.tf index 5506b4242..75498a86d 100644 --- a/infrastructure/terraform/modules/backend-api/module_list_routing_configs_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_list_routing_configs_lambda.tf @@ -1,5 +1,5 @@ module "list_routing_configs_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_list_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_list_template_lambda.tf index 6efdb4816..57aa6b1eb 100644 --- a/infrastructure/terraform/modules/backend-api/module_list_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_list_template_lambda.tf @@ -1,5 +1,5 @@ module "list_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf b/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf index 229be30bc..56fc22712 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_routing_config_table_events_pipe_dlq.tf @@ -1,11 +1,12 @@ module "sqs_routing_config_table_events_pipe_dlq" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip" - aws_account_id = var.aws_account_id - component = var.component - environment = var.environment - project = var.project - region = var.region - name = "routing-config-table-events-pipe-dead-letter" - sqs_kms_key_arn = var.kms_key_arn + aws_account_id = var.aws_account_id + component = var.component + environment = var.environment + project = var.project + region = var.region + name = "routing-config-table-events-pipe-dead-letter" + sqs_kms_key_arn = var.kms_key_arn + message_retention_seconds = 1209600 } diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf b/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf index 87f4ff8f6..4be81014a 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_sftp_upload_queue.tf @@ -1,5 +1,5 @@ module "sqs_sftp_upload" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf b/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf index cf8f988a3..cbbfde4c6 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_template_mgmt_events.tf @@ -1,5 +1,5 @@ module "sqs_template_mgmt_events" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf b/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf index 497e0e2bf..8176843b8 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_template_table_events_pipe_dlq.tf @@ -1,11 +1,12 @@ module "sqs_template_table_events_pipe_dlq" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip" - aws_account_id = var.aws_account_id - component = var.component - environment = var.environment - project = var.project - region = var.region - name = "template-table-events-pipe-dead-letter" - sqs_kms_key_arn = var.kms_key_arn + aws_account_id = var.aws_account_id + component = var.component + environment = var.environment + project = var.project + region = var.region + name = "template-table-events-pipe-dead-letter" + sqs_kms_key_arn = var.kms_key_arn + message_retention_seconds = 1209600 } diff --git a/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf b/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf index 4ebcb5f18..f34092a77 100644 --- a/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf +++ b/infrastructure/terraform/modules/backend-api/module_sqs_validate_letter_template_files.tf @@ -1,5 +1,5 @@ module "sqs_validate_letter_template_files" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.27/terraform-sqs.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-sqs.zip" aws_account_id = var.aws_account_id component = var.component diff --git a/infrastructure/terraform/modules/backend-api/module_submit_routing_config_lambda.tf b/infrastructure/terraform/modules/backend-api/module_submit_routing_config_lambda.tf index a51450010..fc2c3eecc 100644 --- a/infrastructure/terraform/modules/backend-api/module_submit_routing_config_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_submit_routing_config_lambda.tf @@ -1,5 +1,5 @@ module "submit_routing_config_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_submit_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_submit_template_lambda.tf index 03e15c903..259cc4819 100644 --- a/infrastructure/terraform/modules/backend-api/module_submit_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_submit_template_lambda.tf @@ -1,5 +1,5 @@ module "submit_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_update_routing_config_lambda.tf b/infrastructure/terraform/modules/backend-api/module_update_routing_config_lambda.tf index 3812f6d35..51e70bb3c 100644 --- a/infrastructure/terraform/modules/backend-api/module_update_routing_config_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_update_routing_config_lambda.tf @@ -1,5 +1,5 @@ module "update_routing_config_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_update_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_update_template_lambda.tf index 758b5b446..0fca9f060 100644 --- a/infrastructure/terraform/modules/backend-api/module_update_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_update_template_lambda.tf @@ -1,5 +1,5 @@ module "update_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/backend-api/module_upload_letter_template_lambda.tf b/infrastructure/terraform/modules/backend-api/module_upload_letter_template_lambda.tf index ea4a429d5..efbb7f313 100644 --- a/infrastructure/terraform/modules/backend-api/module_upload_letter_template_lambda.tf +++ b/infrastructure/terraform/modules/backend-api/module_upload_letter_template_lambda.tf @@ -1,5 +1,5 @@ module "upload_letter_template_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/cognito-triggers/README.md b/infrastructure/terraform/modules/cognito-triggers/README.md index 7dbd8443b..00d8d6d43 100644 --- a/infrastructure/terraform/modules/cognito-triggers/README.md +++ b/infrastructure/terraform/modules/cognito-triggers/README.md @@ -23,8 +23,8 @@ No requirements. | Name | Source | Version | |------|--------|---------| -| [pre\_authentication\_lambda](#module\_pre\_authentication\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | -| [pre\_token\_generation\_lambda](#module\_pre\_token\_generation\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip | n/a | +| [pre\_authentication\_lambda](#module\_pre\_authentication\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | +| [pre\_token\_generation\_lambda](#module\_pre\_token\_generation\_lambda) | https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip | n/a | ## Outputs | Name | Description | diff --git a/infrastructure/terraform/modules/cognito-triggers/module_pre_authentication_lambda.tf b/infrastructure/terraform/modules/cognito-triggers/module_pre_authentication_lambda.tf index 7c64d09c4..547bbcd5d 100644 --- a/infrastructure/terraform/modules/cognito-triggers/module_pre_authentication_lambda.tf +++ b/infrastructure/terraform/modules/cognito-triggers/module_pre_authentication_lambda.tf @@ -1,5 +1,5 @@ module "pre_authentication_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment diff --git a/infrastructure/terraform/modules/cognito-triggers/module_pre_token_generation_lambda.tf b/infrastructure/terraform/modules/cognito-triggers/module_pre_token_generation_lambda.tf index 4bc85bc3b..c9e107f2e 100644 --- a/infrastructure/terraform/modules/cognito-triggers/module_pre_token_generation_lambda.tf +++ b/infrastructure/terraform/modules/cognito-triggers/module_pre_token_generation_lambda.tf @@ -1,5 +1,5 @@ module "pre_token_generation_lambda" { - source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.22/terraform-lambda.zip" + source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.28/terraform-lambda.zip" project = var.project environment = var.environment