Skip to content

Commit

Permalink
add var
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 14, 2022
1 parent f4d0e29 commit 97850ef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions vpc-transit-gateway-association/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ This sets up the necessary transit gateway configuration for attaching a VPC wit
| <a name="input_route_table_label"></a> [route\_table\_label](#input\_route\_table\_label) | Route table lable for the attachment subnets | `string` | `"attachment"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | AWS Tags to apply to appropriate resources (S3, KMS). Do not include safeguard tags here, use the data\_safeguard field for such things. | `map(string)` | `{}` | no |
| <a name="input_transit_gateway_environment"></a> [transit\_gateway\_environment](#input\_transit\_gateway\_environment) | Transit Gateway Environment (aka, VRF) to which to connnect this VPC | `string` | n/a | yes |
| <a name="input_transit_gateway_label"></a> [transit\_gateway\_label](#input\_transit\_gateway\_label) | Transit Gateway label for specific instance (sa, prod) | `string` | `"prod"` | no |
| <a name="input_transit_gateway_routing_type"></a> [transit\_gateway\_routing\_type](#input\_transit\_gateway\_routing\_type) | Transit Gateway routing type, to select either self or peer (where we may have many peers) | `string` | n/a | yes |
| <a name="input_vpc_environment"></a> [vpc\_environment](#input\_vpc\_environment) | VPC environment purpose (infrastructure, common, shared, dev, stage, ite, prod) | `string` | `null` | no |
| <a name="input_vpc_full_name"></a> [vpc\_full\_name](#input\_vpc\_full\_name) | VPC full name component (vpc{index}-{vpc\_name}) | `string` | `null` | no |
Expand Down
17 changes: 12 additions & 5 deletions vpc-transit-gateway-association/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ variable "transit_gateway_routing_type" {
}
}

## variable "subnet_ids" {
## description = "List of subnet IDs for this VPC for the TGW attachment. This should be not public, and should be a separate attachment set of /28 subnets with no other use"
## type = list(string)
## }

variable "route_table_label" {
description = "Route table lable for the attachment subnets"
type = string
Expand All @@ -39,3 +34,15 @@ variable "route_prefix_list_name" {
type = string
default = "transit-gateway.prod"
}

variable "transit_gateway_label" {
description = "Transit Gateway label for specific instance (sa, prod)"
type = string
default = "prod"
}

## variable "subnet_ids" {
## description = "List of subnet IDs for this VPC for the TGW attachment. This should be not public, and should be a separate attachment set of /28 subnets with no other use"
## type = list(string)
## }

0 comments on commit 97850ef

Please sign in to comment.