From 052e3bccae0a45fd62f81129e46599451a582027 Mon Sep 17 00:00:00 2001 From: "Axel Garcia K." Date: Wed, 1 Oct 2025 15:01:38 +0100 Subject: [PATCH 1/2] NRL-1669 Remove accidental duplicate provider --- terraform/account-wide-infrastructure/test/main.tf | 7 ------- 1 file changed, 7 deletions(-) diff --git a/terraform/account-wide-infrastructure/test/main.tf b/terraform/account-wide-infrastructure/test/main.tf index 4aceabd58..e9fdee88a 100644 --- a/terraform/account-wide-infrastructure/test/main.tf +++ b/terraform/account-wide-infrastructure/test/main.tf @@ -12,13 +12,6 @@ provider "aws" { } } -provider "awscc" { - region = local.region - - assume_role = { - role_arn = "arn:aws:iam::${var.assume_account}:role/${var.assume_role}" - } -} provider "awscc" { region = local.region From b5fffdc18c76bbfd333d4b213c2ef59d23daf0b1 Mon Sep 17 00:00:00 2001 From: "Axel Garcia K." Date: Wed, 1 Oct 2025 15:04:15 +0100 Subject: [PATCH 2/2] NRL-1669 Enable backups for INT, they were already enabled in AWS console --- .../test/dynamodb__pointers-table.tf | 1 + terraform/account-wide-infrastructure/test/s3.tf | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/terraform/account-wide-infrastructure/test/dynamodb__pointers-table.tf b/terraform/account-wide-infrastructure/test/dynamodb__pointers-table.tf index f24f0c366..037e6d266 100644 --- a/terraform/account-wide-infrastructure/test/dynamodb__pointers-table.tf +++ b/terraform/account-wide-infrastructure/test/dynamodb__pointers-table.tf @@ -15,6 +15,7 @@ module "int-pointers-table" { enable_deletion_protection = true enable_pitr = true kms_deletion_window_in_days = 30 + enable_backups = true } module "int-sandbox-pointers-table" { diff --git a/terraform/account-wide-infrastructure/test/s3.tf b/terraform/account-wide-infrastructure/test/s3.tf index b3c33e907..6ce067aad 100644 --- a/terraform/account-wide-infrastructure/test/s3.tf +++ b/terraform/account-wide-infrastructure/test/s3.tf @@ -9,8 +9,9 @@ module "qa-sandbox-permissions-store-bucket" { } module "int-permissions-store-bucket" { - source = "../modules/permissions-store-bucket" - name_prefix = "nhsd-nrlf--int" + source = "../modules/permissions-store-bucket" + name_prefix = "nhsd-nrlf--int" + enable_backups = true } module "int-sandbox-permissions-store-bucket" {