From 440ab579e902a0aa284e335f697071e81e16b452 Mon Sep 17 00:00:00 2001 From: aidenvaines-bjss Date: Wed, 11 Jun 2025 17:23:11 +0100 Subject: [PATCH 1/2] CCM-10039 backup:TagResource action --- .../terraform/components/app/module_nhse_backup_vault.tf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/infrastructure/terraform/components/app/module_nhse_backup_vault.tf b/infrastructure/terraform/components/app/module_nhse_backup_vault.tf index d3f0af7cb..c3f81afb8 100644 --- a/infrastructure/terraform/components/app/module_nhse_backup_vault.tf +++ b/infrastructure/terraform/components/app/module_nhse_backup_vault.tf @@ -1,10 +1,11 @@ module "nhse_backup_vault" { - source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source?ref=v1.0.8" + source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source?ref=v2.0.12" count = var.destination_vault_arn != null ? 1 : 0 - component = var.component - environment = var.environment - project = var.project + component = var.component + environment = var.environment + project = var.project + backup_copy_vault_account_id = data.aws_arn.destination_vault_arn[0].account backup_copy_vault_arn = data.aws_arn.destination_vault_arn[0].arn From 11b34e9e55d949993b615bf97f1e5fe8b4d63529 Mon Sep 17 00:00:00 2001 From: aidenvaines-bjss Date: Wed, 11 Jun 2025 17:23:29 +0100 Subject: [PATCH 2/2] CCM-10039 backup:TagResource action --- infrastructure/terraform/components/app/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/components/app/README.md b/infrastructure/terraform/components/app/README.md index 792553a95..86585341d 100644 --- a/infrastructure/terraform/components/app/README.md +++ b/infrastructure/terraform/components/app/README.md @@ -54,7 +54,7 @@ | [eventpub](#module\_eventpub) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/eventpub | v1.0.13 | | [kms](#module\_kms) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/kms | v1.0.8 | | [kms\_us\_east\_1](#module\_kms\_us\_east\_1) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/kms | v1.0.8 | -| [nhse\_backup\_vault](#module\_nhse\_backup\_vault) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source | v1.0.8 | +| [nhse\_backup\_vault](#module\_nhse\_backup\_vault) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/aws-backup-source | v2.0.12 | | [s3bucket\_cf\_logs](#module\_s3bucket\_cf\_logs) | git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/s3bucket | v2.0.2 | ## Outputs