Skip to content

Commit a41ce7d

Browse files
authored
Fix environment tag should say dev (#380)
Creates a new variable for dev environment name and set all relevant fields to use it. Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
1 parent 51fdd85 commit a41ce7d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

arc/aws/391835788720/us-east-1/01_infra/lf-arc-dev-eks.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module "pytorch_arc_dev_eks" {
66
source = "terraform-aws-modules/eks/aws"
77
version = "~> 20.37"
88

9-
cluster_name = "lf-arc-dev"
9+
cluster_name = var.arc_dev_environment
1010
cluster_version = "1.33"
1111

1212
cluster_endpoint_public_access = true
@@ -54,6 +54,6 @@ module "pytorch_arc_dev_eks" {
5454
subnet_ids = module.arc_runners_vpc.private_subnets
5555

5656
tags = {
57-
Environment = var.arc_prod_environment
57+
Environment = var.arc_dev_environment
5858
}
5959
}

arc/aws/391835788720/us-east-1/01_infra/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ variable "arc_prod_environment" {
33
type = string
44
default = "lf-arc-prod"
55
}
6+
7+
variable "arc_dev_environment" {
8+
description = "development environment prefix"
9+
type = string
10+
default = "lf-arc-dev"
11+
}

0 commit comments

Comments
 (0)