diff --git a/vpc-transit-gateway-association/peer/README.md b/vpc-transit-gateway-association/peer/README.md index 154c226..b3ff8d0 100644 --- a/vpc-transit-gateway-association/peer/README.md +++ b/vpc-transit-gateway-association/peer/README.md @@ -109,6 +109,7 @@ No modules. | [vpc\_index](#input\_vpc\_index) | VPC index number (integer starting at 1) | `number` | `null` | no | | [vpc\_name](#input\_vpc\_name) | VPC name component used through the VPC descrbing its purpose (ex: dice-dev) | `string` | `null` | no | | [vpc\_short\_name](#input\_vpc\_short\_name) | VPC short name component (vpc{index}) | `string` | `null` | no | +| [vpn\_route\_prefix\_list\_name](#input\_vpn\_route\_prefix\_list\_name) | Shared prefix list name used for routing to TGW through VPN. If null, existing VPN routing if any will be used. | `string` | `null` | no | ## Outputs diff --git a/vpc-transit-gateway-association/peer/variables.tf b/vpc-transit-gateway-association/peer/variables.tf index 0656be0..e107346 100644 --- a/vpc-transit-gateway-association/peer/variables.tf +++ b/vpc-transit-gateway-association/peer/variables.tf @@ -35,6 +35,12 @@ variable "route_prefix_list_name" { default = "transit-gateway.prod" } +variable "vpn_route_prefix_list_name" { + description = "Shared prefix list name used for routing to TGW through VPN. If null, existing VPN routing if any will be used." + type = string + default = null +} + variable "transit_gateway_label" { description = "Transit Gateway label for specific instance (sa, prod)" type = string diff --git a/vpc-transit-gateway-association/self/README.md b/vpc-transit-gateway-association/self/README.md index 3c203df..b377a4e 100644 --- a/vpc-transit-gateway-association/self/README.md +++ b/vpc-transit-gateway-association/self/README.md @@ -116,6 +116,7 @@ module "vpc_tgw_self" { | [vpc\_index](#input\_vpc\_index) | VPC index number (integer starting at 1) | `number` | `null` | no | | [vpc\_name](#input\_vpc\_name) | VPC name component used through the VPC descrbing its purpose (ex: dice-dev) | `string` | `null` | no | | [vpc\_short\_name](#input\_vpc\_short\_name) | VPC short name component (vpc{index}) | `string` | `null` | no | +| [vpn\_route\_prefix\_list\_name](#input\_vpn\_route\_prefix\_list\_name) | Shared prefix list name used for routing to TGW through VPN. If null, existing VPN routing if any will be used. | `string` | `null` | no | ## Outputs diff --git a/vpc-transit-gateway-association/self/variables.tf b/vpc-transit-gateway-association/self/variables.tf index 0656be0..e107346 100644 --- a/vpc-transit-gateway-association/self/variables.tf +++ b/vpc-transit-gateway-association/self/variables.tf @@ -35,6 +35,12 @@ variable "route_prefix_list_name" { default = "transit-gateway.prod" } +variable "vpn_route_prefix_list_name" { + description = "Shared prefix list name used for routing to TGW through VPN. If null, existing VPN routing if any will be used." + type = string + default = null +} + variable "transit_gateway_label" { description = "Transit Gateway label for specific instance (sa, prod)" type = string