generated from terraform-modules/template_aws_submodules
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
| # |