Skip to content

Commit 03ba86d

Browse files
committed
New variable for hpc availability zone
1 parent e8c70ef commit 03ba86d

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ module "hpc" {
310310
create_jumphost = false
311311
compute_nat_access = false
312312
compute_subnet_count = 16
313-
av_zone_suffixes = ["d"]
313+
av_zone_suffixes = var.hpc_av_zone_suffixes
314314
peering_route_tables = [local.route_table_private_subnets_id, local.route_table_public_id]
315315
lambda_subnet_cidr = "10.0.16.0/24"
316316
is_production = var.is_production

production.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ hpc_resource_provisioner_containers_bucket = ""
7373
hpc_resource_provisioner_scratch_bucket = ""
7474
hpc_resource_provisioner_scratch_bucket_arn = ""
7575
pcluster_ami_id = ""
76+
hpc_av_zone_suffixes = ["a"]
7677

7778
entitycore_svc_aws_s3_internal_bucket = "entitycore-data-production"
7879
entitycore_svc_aws_s3_internal_region = "us-east-1"

sandbox-benchmarks.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ hpc_resource_provisioner_containers_bucket = "s3://sboinfrastructureassets-sa
6767
hpc_resource_provisioner_scratch_bucket = "s3://sbosandbox-cn6l7t"
6868
hpc_resource_provisioner_scratch_bucket_arn = "arn:aws:s3:::sbosandbox-cn6l7t"
6969
pcluster_ami_id = "ami-0dfa261290e9dffe0"
70+
hpc_av_zone_suffixes = ["d"]
7071

7172
entitycore_svc_aws_s3_internal_bucket = "entitycore-data-staging"
7273
entitycore_svc_aws_s3_internal_region = "us-east-1"

sandbox-hpc.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ hpc_resource_provisioner_containers_bucket = "s3://sboinfrastructureassets-sa
7272
hpc_resource_provisioner_scratch_bucket = "s3://sbosandbox-lec3cn"
7373
hpc_resource_provisioner_scratch_bucket_arn = "arn:aws:s3:::sbosandbox-lec3cn"
7474
pcluster_ami_id = "ami-027ff2490377d3048"
75+
hpc_av_zone_suffixes = ["a"]
7576

7677
entitycore_svc_aws_s3_internal_bucket = "entitycore-data-staging"
7778
entitycore_svc_aws_s3_internal_region = "us-east-1"

staging.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ hpc_resource_provisioner_containers_bucket = ""
6262
hpc_resource_provisioner_scratch_bucket = ""
6363
hpc_resource_provisioner_scratch_bucket_arn = ""
6464
pcluster_ami_id = ""
65+
hpc_av_zone_suffixes = ["a"]
6566

6667
entitycore_svc_aws_s3_internal_bucket = "entitycore-data-staging"
6768
entitycore_svc_aws_s3_internal_region = "us-east-1"

variables-common.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,10 @@ variable "pcluster_ami_id" {
247247
type = string
248248
}
249249

250+
variable "hpc_av_zone_suffixes" {
251+
type = list(string)
252+
}
253+
250254
### entitycore ###
251255
variable "entitycore_svc_aws_s3_internal_bucket" {
252256
type = string

0 commit comments

Comments
 (0)