Skip to content

Commit 4a12b6a

Browse files
authored
CCM-14480: Add version management script (#224)
* CCM-14480: Add version management script * CCM-14480: Relax script validation * CCM-14480: Remove kms provider config * CCM-14480: Update docs * CCM-14480: Fix linting issue * CCM-14480: Update dlq timeouts * CCM-14480: Remove scripts from workspaces * CCM-14480: Fix file scanner dlq name * CCM-14480: Increase timeout * CCM-14480: Make tests run in parallel * CCM-14480: Create package-lock.json in scripts * CCM-14480: Make tests run in parallel * CCM-14480: Fix linting issue * CCM-14480: Remove afterAll dlq purge * CCM-14480: Bump module source to latest version * CCM-14480: Add access_logging_bucket var to eventpub * CCM-14480: Bump module source to latest version * CCM-14480: Increase PDM Uploader test timeout * CCM-14480: Increase all test timeout * CCM-14480: Fix linting issue
1 parent 93ddba3 commit 4a12b6a

63 files changed

Lines changed: 862 additions & 437 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

infrastructure/terraform/components/dl/README.md

Lines changed: 43 additions & 43 deletions
Large diffs are not rendered by default.

infrastructure/terraform/components/dl/module_kms.tf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
module "kms" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.24/terraform-kms.zip"
3-
4-
5-
providers = {
6-
aws = aws
7-
aws.us-east-1 = aws.us-east-1
8-
}
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-kms.zip"
93

104
aws_account_id = var.aws_account_id
115
component = local.component

infrastructure/terraform/components/dl/module_lambda_apim_key_generation.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "lambda_apim_key_generation" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "apim-key-generation"
55
description = "A function to generate APIM public and private keys"

infrastructure/terraform/components/dl/module_lambda_apim_refresh_token.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "lambda_lambda_apim_refresh_token" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "apim-refresh-token"
55
description = "A function to generate APIM access tokens"

infrastructure/terraform/components/dl/module_lambda_core_notifier.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "core_notifier" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "core-notifier"
55
description = "A function to send messages to core Notify when a PDM resource is available"

infrastructure/terraform/components/dl/module_lambda_file_scanner.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "file_scanner" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "file-scanner"
55
description = "A function for extracting PDFs from DocumentReference and storing in UnscannedFiles bucket for virus scanning"

infrastructure/terraform/components/dl/module_lambda_mesh_acknowledge.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "mesh_acknowledge" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "mesh-acknowledge"
55
description = "A lambda function for acknowledging MESH messages"

infrastructure/terraform/components/dl/module_lambda_mesh_download.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "mesh_download" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "mesh-download"
55
description = "A lambda function for downloading MESH messages and storing in S3"

infrastructure/terraform/components/dl/module_lambda_mesh_poll.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "mesh_poll" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "mesh-poll"
55
description = "A lambda function for polling MESH inbox for new messages"

infrastructure/terraform/components/dl/module_lambda_move_scanned_files.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module "move_scanned_files" {
2-
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/v2.0.29/terraform-lambda.zip"
2+
source = "https://github.com/NHSDigital/nhs-notify-shared-modules/releases/download/3.0.6/terraform-lambda.zip"
33

44
function_name = "move-scanned-files"
55
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. "

0 commit comments

Comments
 (0)