From 29fadf910ae226db97476486de74f15e4f6eb47c Mon Sep 17 00:00:00 2001 From: badra001 Date: Thu, 6 Oct 2022 10:36:18 -0400 Subject: [PATCH] fix --- vpn-transit-gateway/README.md | 1 + vpn-transit-gateway/variables.tf | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/vpn-transit-gateway/README.md b/vpn-transit-gateway/README.md index 06fcd69..e165506 100644 --- a/vpn-transit-gateway/README.md +++ b/vpn-transit-gateway/README.md @@ -110,6 +110,7 @@ No modules. | [tgw\_route\_table\_propagation](#input\_tgw\_route\_table\_propagation) | Transit Gateway Route Tables to propagate the VPN attachments. Multiple route tables may be selected. | `list(string)` | `[]` | no | | [tgw\_vpn\_settings](#input\_tgw\_vpn\_settings) | Transit Gateway VPN Connection details array of objects |
list(object(
{
site = string
environment = string
sequence = number
region = optional(string)
bgp_asn_id = number
ip_address = string
tunnel_ips = list(string)
preshared_keys = list(string)
tunnel_interfaces = optional(list(number))
tunnel_loopback = optional(number)
}
))
| `[]` | no | | [transit\_gateway\_id](#input\_transit\_gateway\_id) | Transit Gateway ID | `string` | n/a | yes | +| [use\_single\_cgw](#input\_use\_single\_cgw) | Flag to enable or disable the use of a single customer gateway per site vs one per site and VPN | `bool` | `false` | no | | [use\_tgw\_prefixes](#input\_use\_tgw\_prefixes) | Flag to enable or disable the use of Transit Gateway prefixes (default: false) | `bool` | `false` | no | | [vpc\_environment](#input\_vpc\_environment) | VPC environment purpose (infrastructure, common, shared, dev, stage, ite, prod) | `string` | `null` | no | | [vpc\_full\_name](#input\_vpc\_full\_name) | VPC full name component (vpc{index}-{vpc\_name}) | `string` | `null` | no | diff --git a/vpn-transit-gateway/variables.tf b/vpn-transit-gateway/variables.tf index 13c7676..2d566fb 100644 --- a/vpn-transit-gateway/variables.tf +++ b/vpn-transit-gateway/variables.tf @@ -79,3 +79,9 @@ variable "generate_yaml_files" { default = true } + +variable "use_single_cgw" { + description = "Flag to enable or disable the use of a single customer gateway per site vs one per site and VPN" + type = bool + default = false +}