From 92b97eff43fdb6ecba6410d9418acc66d76ef194 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 6 Jan 2023 11:30:38 -0500 Subject: [PATCH] update --- examples/full-cluster-tf-upgrade/tf-run.data | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/examples/full-cluster-tf-upgrade/tf-run.data b/examples/full-cluster-tf-upgrade/tf-run.data index 6265ef6..3f21fad 100644 --- a/examples/full-cluster-tf-upgrade/tf-run.data +++ b/examples/full-cluster-tf-upgrade/tf-run.data @@ -1,4 +1,4 @@ -VERSION 1.2.1 +VERSION 1.2.2 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%% @@ -9,12 +9,23 @@ LINKTOP provider_configs.d/provider.ldap_new.auto.tfvars LINKTOP provider_configs.d/provider.ldap_new.tf LINKTOP provider_configs.d/provider.ldap_new.variables.tf LINKTOP init + +LINKTOP includes.d/variables.account_tags.tf +LINKTOP includes.d/variables.account_tags.auto.tfvars +LINKTOP includes.d/variables.infrastructure_tags.tf +LINKTOP includes.d/variables.infrastructure_tags.auto.tfvars +LINKTOP includes.d/variables.application_tags.tf +LINKTOP includes.d/variables.application_tags.auto.tfvars + COMMAND tf-init -upgrade COMMENT There are two placeholder files, variables.vpc.auto.tfvars.make-link and variables.vpc.tf.make-link. COMMENT Ensure that variables.vpc.auto.tfvars and variables.vpc.tf are either (a) linked to the files in the parent or vpc/{region}/vpcN/ directory COMMENT or (b) copied from the vpc/{region}/vpcN/ directory if this repo is separate from the main cloud account -COMMENT +COMMENT You may uncomment the next two lines in tf-run.data and apply them to make the links +#COMMAND ln -sf ../../variables.vpc.tf +#COMMAND ln -sf ../../variables.vpc.auto.tfvars + 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.