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 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