From ff07ef5c565d9bb7f936e501660540d7013b0d2b Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 6 Jan 2023 11:50:15 -0500 Subject: [PATCH] add tags --- examples/full-cluster-tf-upgrade/tf-run.data | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/examples/full-cluster-tf-upgrade/tf-run.data b/examples/full-cluster-tf-upgrade/tf-run.data index 3f21fad..c2b47f7 100644 --- a/examples/full-cluster-tf-upgrade/tf-run.data +++ b/examples/full-cluster-tf-upgrade/tf-run.data @@ -1,8 +1,9 @@ -VERSION 1.2.2 +VERSION 1.3.0 REMOTE-STATE COMMENT make sure the private-lb subnet and container subnets are tagged properly (see README.md) -STOP then continue with at step %%NEXT%% +STOP then continue with at step %%NEXT%% (tag:subnets-verified) +TAG subnets-verified COMMAND tf-directory-setup.py -l none -f COMMAND setup-new-directory.sh LINKTOP provider_configs.d/provider.ldap_new.auto.tfvars @@ -29,8 +30,9 @@ COMMENT You may uncomment the next two lines in tf-run.data and apply them to ma COMMENT Also check that the variables.application_tags .tf and .auto.tfvars files are linked to the proper includes.d/path/file from the root of the COMMENT git repository. You will get missing definitions on application_tags otherwise. -STOP check variables.vpc.* files and then continue with %%NEXT%% +STOP check variables.vpc.* files and then continue with %%NEXT%% (tag:setup-complete) +TAG setup-complete POLICY COMMENT EC2 key pairs @@ -41,15 +43,22 @@ COMMENT be sure to add the setup/ec2-ssh-eks-{cluster} to git-secret, git-secret ALL -COMMENT setup the includes.d/parent_rs.tf according to the includes.d/README -STOP +COMMENT Assumes setup the includes.d/parent_rs.tf according to the REAMDE.md has been done, will fail if not. You can answer n at the pause if you are not sure +PAUSE +TAG setup-aws-auth COMMENT cd aws-auth and tf-run.sh apply STOP + +TAG setup-efs COMMENT cd efs and tf-run.sh apply STOP + +TAG setup-irsa COMMENT cd irsa-roles and tf-run.sh apply STOP + +TAG setup-common-services COMMENT cd common-services and tf-run.sh apply STOP