Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 6, 2023
1 parent 92b97ef commit 0cf71de
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/full-cluster-tf-upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 0cf71de

Please sign in to comment.