From f70535f92da7dc9bb73ddb4be1e034a8f025d4fe Mon Sep 17 00:00:00 2001 From: Luther Coleman McGinty Date: Fri, 6 Sep 2024 11:13:28 -0400 Subject: [PATCH 1/6] Update terragrunt.hcl Update for Youssef to test independently. --- lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl index 7f985d7..e1ed36e 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl @@ -16,7 +16,7 @@ locals { # Extract the variables we need for easy access account_id = local.account_vars.locals.aws_account_id account_name = local.account_vars.locals.account_name - creator = "matthew.c.morgan@census.gov" + creator = "ahmed.m.youssef@census.gov" organization = "census:ocio:csvd" profile = "224384469011-lab-dev-gov" project_name = "csvd_platformbaseline" From 266784f7018818c345cabc6c94a2e21a7f6902b3 Mon Sep 17 00:00:00 2001 From: Luther Coleman McGinty Date: Fri, 6 Sep 2024 11:15:14 -0400 Subject: [PATCH 2/6] Update terragrunt.hcl Updates for Youssef to test pipeline. --- lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl index 341232b..bc5351f 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl @@ -9,7 +9,7 @@ locals { # In which AWS region are operations being performed account_id = local.account_vars.locals.aws_account_id vpc_name = "vpc3-lab-dev" - cluster_name = "platform-eng-eks-mcm" + cluster_name = "platform-eng-ci-cd" cluster_version = "1.30" vpc_domain_name = "dev.lab.csp2.census.gov" eks_instance_disk_size = 100 @@ -22,7 +22,7 @@ locals { cluster_endpoint_public_access = true profile = "224384469011-lab-dev-gov" region = local.region_vars.locals.aws_region - cluster_mailing_list = "matthew.c.morgan@census.gov" + cluster_mailing_list = "ahmed.m.youssef@census.gov" # Tags applied to AWS objects created tags = { From a46a26fa2bb4d550e99f65c1763bb8414da47775 Mon Sep 17 00:00:00 2001 From: Matthew Creal Morgan Date: Mon, 9 Sep 2024 14:53:17 -0700 Subject: [PATCH 3/6] Update terragrunt.hcl --- lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl index e1ed36e..ed438b3 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl @@ -21,7 +21,7 @@ locals { profile = "224384469011-lab-dev-gov" project_name = "csvd_platformbaseline" project_number = "fs0000000078" - project_role = "csvd_platformbaseline_mcm" + project_role = "csvd_platformbaseline_cicd" region = local.region_vars.locals.aws_region } From 620beb18838b64140ce22d6ae8ecd60d61ed4ecd Mon Sep 17 00:00:00 2001 From: Ahmed Mohamed Youssef Date: Wed, 11 Sep 2024 09:01:41 -0400 Subject: [PATCH 4/6] Update terragrunt.hcl --- lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl index bc5351f..aa4daaf 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl @@ -34,7 +34,7 @@ locals { } terraform { - source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git" + source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git?ref=mcmCluster" extra_arguments "retry_lock" { commands = get_terraform_commands_that_need_locking() arguments = ["-lock-timeout=20m"] From c080c9abdb3a223f7ae9ce5edd7a69e849e9e1a5 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Wed, 11 Sep 2024 16:24:54 -0400 Subject: [PATCH 5/6] use main --- lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl index aa4daaf..bc5351f 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/eks/terragrunt.hcl @@ -34,7 +34,7 @@ locals { } terraform { - source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git?ref=mcmCluster" + source = "git@github.e.it.census.gov:SCT-Engineering/tfmod-eks.git" extra_arguments "retry_lock" { commands = get_terraform_commands_that_need_locking() arguments = ["-lock-timeout=20m"] From 4ce55d38648386e61e37370efdffcfcbf91f9d41 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 12 Sep 2024 16:33:36 -0400 Subject: [PATCH 6/6] update backend gen to ent standard --- .../vpc/_mcmCluster/terragrunt.hcl | 77 +++++++++++-------- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl index ed438b3..b26d8c1 100644 --- a/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl +++ b/lab/us-gov-east-1/vpc/_mcmCluster/terragrunt.hcl @@ -23,43 +23,45 @@ locals { project_number = "fs0000000078" project_role = "csvd_platformbaseline_cicd" region = local.region_vars.locals.aws_region + state_bucket_prefix = "inf-tfstate" + state_table_name = "tf_remote_state" } generate "provider" { path = "provider.tf" if_exists = "overwrite_terragrunt" contents = <