From 27ea414ae6c4dd45874602adc94b041d2a296e07 Mon Sep 17 00:00:00 2001 From: jackleary Date: Tue, 11 Mar 2025 18:04:51 +0000 Subject: [PATCH 1/2] nrl-1342 update non shared infra to deploy to int --- terraform/infrastructure/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/infrastructure/locals.tf b/terraform/infrastructure/locals.tf index 9f9ef83b4..74882da5a 100644 --- a/terraform/infrastructure/locals.tf +++ b/terraform/infrastructure/locals.tf @@ -22,7 +22,7 @@ locals { dynamodb_timeout_seconds = "3" is_sandbox_env = length(regexall("-sandbox-", local.stack_name)) > 0 - is_dev_env = var.account_name == "dev" + is_dev_env = var.account_name == "dev" || var.account_name == "int" environment = local.is_sandbox_env ? "${var.account_name}-sandbox" : var.account_name shared_prefix = "${local.project}--${local.environment}" From 3ed8847569ae79374f7b24915db0b605af4e460c Mon Sep 17 00:00:00 2001 From: jackleary Date: Tue, 11 Mar 2025 18:10:23 +0000 Subject: [PATCH 2/2] nrl-1342 update shared infra to deploy to int --- terraform/account-wide-infrastructure/test/athena.tf | 5 +++++ terraform/account-wide-infrastructure/test/glue.tf | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 terraform/account-wide-infrastructure/test/athena.tf create mode 100644 terraform/account-wide-infrastructure/test/glue.tf diff --git a/terraform/account-wide-infrastructure/test/athena.tf b/terraform/account-wide-infrastructure/test/athena.tf new file mode 100644 index 000000000..b64111d44 --- /dev/null +++ b/terraform/account-wide-infrastructure/test/athena.tf @@ -0,0 +1,5 @@ +module "int-athena" { + source = "../modules/athena" + name_prefix = "nhsd-nrlf--int" + target_bucket_name = module.int-glue.target_bucket_name +} diff --git a/terraform/account-wide-infrastructure/test/glue.tf b/terraform/account-wide-infrastructure/test/glue.tf new file mode 100644 index 000000000..57e2e82e9 --- /dev/null +++ b/terraform/account-wide-infrastructure/test/glue.tf @@ -0,0 +1,5 @@ +module "int-glue" { + source = "../modules/glue" + name_prefix = "nhsd-nrlf--int" + python_version = 3 +}