Skip to content

Commit

Permalink
update text
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 26, 2022
1 parent fab8949 commit 806df1d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 65 deletions.
12 changes: 8 additions & 4 deletions examples/full-cluster/variables.vpc.auto.tfvars.make-link
Original file line number Diff line number Diff line change
@@ -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
70 changes: 9 additions & 61 deletions examples/full-cluster/variables.vpc.tf.make-link
Original file line number Diff line number Diff line change
@@ -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.
#

0 comments on commit 806df1d

Please sign in to comment.