From 806df1d71fbadc39f1560568134717ed7fc0df0c Mon Sep 17 00:00:00 2001 From: badra001 Date: Tue, 26 Apr 2022 14:02:21 -0400 Subject: [PATCH] update text --- .../variables.vpc.auto.tfvars.make-link | 12 ++-- .../full-cluster/variables.vpc.tf.make-link | 70 +++---------------- 2 files changed, 17 insertions(+), 65 deletions(-) diff --git a/examples/full-cluster/variables.vpc.auto.tfvars.make-link b/examples/full-cluster/variables.vpc.auto.tfvars.make-link index fada326..86d88cb 100644 --- a/examples/full-cluster/variables.vpc.auto.tfvars.make-link +++ b/examples/full-cluster/variables.vpc.auto.tfvars.make-link @@ -1,5 +1,9 @@ -# for a submodule/subrepository, copy variables.vpc.auto.tfvars from the appropriate vpc/{region}/vpc{n}/ directory in the main repo -# for something directly in the main repo for the account, make a link to the file, which is handled by setup-new-directory.sh -# if you fail to do this, you will get some errors on missing variables +# For a submodule/subrepository, copy variables.vpc.auto.tfvars from the appropriate vpc/{region}/vpc{n}/ directory in the main repo. +# In the apps directory, tf-run.data will create links to it. Any eks-* directories under that will be picked up and created +# by setup-new-directory.sh +# +# For something directly in the main repo for the account this wil be handled by setup-new-directory.sh as the apps +# directory includes it already. +# +# If you fail to do this, you will get errors on missing variables. # -# you may also wish to copy variables.vpc.tf from that vpc directory in case new variables have been defined for a vpc diff --git a/examples/full-cluster/variables.vpc.tf.make-link b/examples/full-cluster/variables.vpc.tf.make-link index 9126406..86d88cb 100644 --- a/examples/full-cluster/variables.vpc.tf.make-link +++ b/examples/full-cluster/variables.vpc.tf.make-link @@ -1,61 +1,9 @@ -variable "vpc_name" { - description = "VPC Name including environment (if necessary), excluding vpc{N}" - type = string -} - -variable "vpc_index" { - description = "VPC index number. This used for NACL rule number caculations." - type = number -} - -variable "vpc_cidr_block" { - description = "VPC CIDR Block" - type = string -} - -variable "vpc_short_name" { - description = "VPC short name component, vpc{index}" - type = string -} - -variable "vpc_environment" { - description = "VPC environment purpose (common, shared, dev, stage, ite, prod)" - type = string - default = "" -} - -variable "vpc_enable_igw" { - description = "Enable AWS Internet Gateway (IGW) on the VPC (true | false[x])" - type = bool - default = false -} - -variable "vpc_enable_nat" { - description = "Enable AWS NAT Gateway on the VPC (true | false[x])" - type = bool - default = false -} - -variable "vpc_enable_vpn" { - description = "Enable AWS VPN Configuration on the VPC (true[x] | false)" - type = bool - default = true -} - -variable "vpc_enable_awsdns" { - description = "Enable AWS DNS on the VPC" - type = bool - default = false -} - -variable "vpn_settings" { - description = "VPN Connection details array of site, bgp_asn_id and ip_address" - type = list(object( - { - site = string - bgp_asn_id = number - ip_address = string - } - )) - default = [] -} +# For a submodule/subrepository, copy variables.vpc.auto.tfvars from the appropriate vpc/{region}/vpc{n}/ directory in the main repo. +# In the apps directory, tf-run.data will create links to it. Any eks-* directories under that will be picked up and created +# by setup-new-directory.sh +# +# For something directly in the main repo for the account this wil be handled by setup-new-directory.sh as the apps +# directory includes it already. +# +# If you fail to do this, you will get errors on missing variables. +#