From e1bbb27bbb2ae2e94315d6d50c9ee41fa7d8e968 Mon Sep 17 00:00:00 2001 From: C MARSTON Date: Wed, 3 Jul 2024 12:46:38 +0100 Subject: [PATCH] feat(terraform): vol5504 add single batch job --- infra/terraform/modules/service/batch.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/terraform/modules/service/batch.tf b/infra/terraform/modules/service/batch.tf index c7925e05b7..8ebfbae5b1 100644 --- a/infra/terraform/modules/service/batch.tf +++ b/infra/terraform/modules/service/batch.tf @@ -34,7 +34,7 @@ module "batch" { max_vcpus = 4 security_group_ids = "DEV/APP/DEV-OLCS-PRI-API-SG" - subnet_ids = ["DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1A", "DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1B", "DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1C"] + subnet_ids = ["DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1A", "DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1B", "DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1C"] # `tags = {}` here is not applicable for spot } @@ -48,7 +48,7 @@ module "batch" { max_vcpus = 4 security_group_ids = "DEV/APP/DEV-OLCS-PRI-API-SG" - subnet_ids = ["DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1A", "DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1B", "DEV/APP/upper(${var.environment})-OLCS-PRI-BATCH-1C"] + subnet_ids = ["DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1A", "DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1B", "DEV/APP/${upper(var.environment)}-OLCS-PRI-BATCH-1C"] # `tags = {}` here is not applicable for spot } }