From d2b3b5d5d08ede06975356a3ce75c64c92f7c2a2 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 11:31:30 +0100 Subject: [PATCH 1/6] CCM-11751: Fixing eventpub path --- infrastructure/modules/eventpub/archive_file_lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/eventpub/archive_file_lambda.tf b/infrastructure/modules/eventpub/archive_file_lambda.tf index def1d12..89bf093 100644 --- a/infrastructure/modules/eventpub/archive_file_lambda.tf +++ b/infrastructure/modules/eventpub/archive_file_lambda.tf @@ -1,9 +1,9 @@ resource "archive_file" "lambda" { type = "zip" - source_dir = "${path.module}/lambda/eventpub/src" + source_dir = "${path.root}/lambda/eventpub/src" # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39 - output_path = "${path.module}/lambda/eventpub_${timestamp()}.zip" + output_path = "${path.root}/lambda/eventpub_${timestamp()}.zip" excludes = [ # NodeJS Exclusions "**/__tests__", From adaacbb2b04aa8d8ac088ae9b6aab85141b61a44 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 11:41:40 +0100 Subject: [PATCH 2/6] CCM-11751: Fixing eventpub path --- infrastructure/modules/eventpub/archive_file_lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/eventpub/archive_file_lambda.tf b/infrastructure/modules/eventpub/archive_file_lambda.tf index 89bf093..47b854d 100644 --- a/infrastructure/modules/eventpub/archive_file_lambda.tf +++ b/infrastructure/modules/eventpub/archive_file_lambda.tf @@ -1,9 +1,9 @@ resource "archive_file" "lambda" { type = "zip" - source_dir = "${path.root}/lambda/eventpub/src" + source_dir = "${path.root}/modules/eventpub/lambda/eventpub/src" # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39 - output_path = "${path.root}/lambda/eventpub_${timestamp()}.zip" + output_path = "${path.root}/modules/eventpub/lambda/eventpub_${timestamp()}.zip" excludes = [ # NodeJS Exclusions "**/__tests__", From 546c1e917b374b622a54a880984f0ab59cd5ea60 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 12:14:20 +0100 Subject: [PATCH 3/6] CCM-11751: Fixing eventpub path --- infrastructure/modules/eventpub/archive_file_lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/eventpub/archive_file_lambda.tf b/infrastructure/modules/eventpub/archive_file_lambda.tf index 47b854d..a46aa08 100644 --- a/infrastructure/modules/eventpub/archive_file_lambda.tf +++ b/infrastructure/modules/eventpub/archive_file_lambda.tf @@ -1,9 +1,9 @@ resource "archive_file" "lambda" { type = "zip" - source_dir = "${path.root}/modules/eventpub/lambda/eventpub/src" + source_dir = "${path.root}/.terraform/modules/eventpub/lambda/eventpub/src" # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39 - output_path = "${path.root}/modules/eventpub/lambda/eventpub_${timestamp()}.zip" + output_path = "${path.root}/.terraform/modules/eventpub/lambda/eventpub_${timestamp()}.zip" excludes = [ # NodeJS Exclusions "**/__tests__", From e13d5bce5040826d24addef940fa37d230340ad7 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 12:18:14 +0100 Subject: [PATCH 4/6] CCM-11751: Fixing eventpub path --- infrastructure/modules/eventpub/archive_file_lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/eventpub/archive_file_lambda.tf b/infrastructure/modules/eventpub/archive_file_lambda.tf index a46aa08..e24536a 100644 --- a/infrastructure/modules/eventpub/archive_file_lambda.tf +++ b/infrastructure/modules/eventpub/archive_file_lambda.tf @@ -1,9 +1,9 @@ resource "archive_file" "lambda" { type = "zip" - source_dir = "${path.root}/.terraform/modules/eventpub/lambda/eventpub/src" + source_dir = ".terraform/modules/eventpub/lambda/eventpub/src" # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39 - output_path = "${path.root}/.terraform/modules/eventpub/lambda/eventpub_${timestamp()}.zip" + output_path = ".terraform/modules/eventpub/lambda/eventpub_${timestamp()}.zip" excludes = [ # NodeJS Exclusions "**/__tests__", From aaa0ba5138bd2d05f322d3303420a6032d9a5010 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 13:18:37 +0100 Subject: [PATCH 5/6] CCM-11751: Fixing eventpub path --- infrastructure/modules/eventpub/archive_file_lambda.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/modules/eventpub/archive_file_lambda.tf b/infrastructure/modules/eventpub/archive_file_lambda.tf index e24536a..30f972f 100644 --- a/infrastructure/modules/eventpub/archive_file_lambda.tf +++ b/infrastructure/modules/eventpub/archive_file_lambda.tf @@ -1,9 +1,9 @@ resource "archive_file" "lambda" { type = "zip" - source_dir = ".terraform/modules/eventpub/lambda/eventpub/src" + source_dir = "${path.module}/../../../lambda/eventpub/src" # Timestamp in path to resolve https://github.com/hashicorp/terraform-provider-archive/issues/39 - output_path = ".terraform/modules/eventpub/lambda/eventpub_${timestamp()}.zip" + output_path = "${path.module}/../../../lambda/eventpub_${timestamp()}.zip" excludes = [ # NodeJS Exclusions "**/__tests__", From fa65d77046f42a6487e8c30b47d94f941ffd4539 Mon Sep 17 00:00:00 2001 From: sidnhs Date: Mon, 8 Sep 2025 14:49:19 +0100 Subject: [PATCH 6/6] CCM-11751: Fixing eventpub path --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 44937ff..d84ccd2 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,7 +1,7 @@ # NHS Notify Code Owners # Notify default owners -* @rossbugginsnhs @m-houston @aidenvaines-bjss @timireland +* @NHSDigital/nhs-notify-admins # Codeowners must be final check /.github/CODEOWNERS @NHSDigital/nhs-notify-code-owners