diff --git a/examples/full-cluster-tf-upgrade/README.md b/examples/full-cluster-tf-upgrade/README.md index ab9bd75..67e8746 100644 --- a/examples/full-cluster-tf-upgrade/README.md +++ b/examples/full-cluster-tf-upgrade/README.md @@ -14,6 +14,7 @@ There are a number of steps to end up with a cluster. 1. Copy the [includes.d structure](#copy-includesd) 1. In the submodule repository, in the `vpc/{region}/vpc{number}/apps/{clustername}` directory 1. Update `settings.auto.tfvars` + 1. Update `includes.d/parent_rs.tf` 1. Initialize [Cluster Main](#initialize-cluster-main) directory 1. Create [policies](#policies) 1. Create [EC2 Keypair](#keypair-creation) @@ -130,6 +131,18 @@ These are tracked in the repo cloud-information/aws/documentation/containers/ (f All the others are subject to your configuration. They are a good starting point, but can vary. +## Update the includes.d/parent_rs.tf file + +```hcl +locals { + parent_rs = data.terraform_remote_state.vpc_{region}_vpc{number}_apps_eks-{cluster-name}.outputs +} +``` + +* region: west or east, dependent on which region the VPC is in +* number: incremental VPC number +* cluster-name: cluster name, the same as used in the `settings.auto.tfvars` file above + # Terraform Automated Setup A `tf-run.data` file exists here, so the simplest way to implemnt is with the `tf-run.sh` script.