Skip to content

Commit

Permalink
add var
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 18, 2022
1 parent e48be27 commit 749cfe6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions vpc-transit-gateway-association/peer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ No modules.
| <a name="input_vpc_index"></a> [vpc\_index](#input\_vpc\_index) | VPC index number (integer starting at 1) | `number` | `null` | no |
| <a name="input_vpc_name"></a> [vpc\_name](#input\_vpc\_name) | VPC name component used through the VPC descrbing its purpose (ex: dice-dev) | `string` | `null` | no |
| <a name="input_vpc_short_name"></a> [vpc\_short\_name](#input\_vpc\_short\_name) | VPC short name component (vpc{index}) | `string` | `null` | no |
| <a name="input_vpn_route_prefix_list_name"></a> [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

Expand Down
6 changes: 6 additions & 0 deletions vpc-transit-gateway-association/peer/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions vpc-transit-gateway-association/self/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ module "vpc_tgw_self" {
| <a name="input_vpc_index"></a> [vpc\_index](#input\_vpc\_index) | VPC index number (integer starting at 1) | `number` | `null` | no |
| <a name="input_vpc_name"></a> [vpc\_name](#input\_vpc\_name) | VPC name component used through the VPC descrbing its purpose (ex: dice-dev) | `string` | `null` | no |
| <a name="input_vpc_short_name"></a> [vpc\_short\_name](#input\_vpc\_short\_name) | VPC short name component (vpc{index}) | `string` | `null` | no |
| <a name="input_vpn_route_prefix_list_name"></a> [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
Expand Down
6 changes: 6 additions & 0 deletions vpc-transit-gateway-association/self/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 749cfe6

Please sign in to comment.