From 97850ef4c8bd9c51d216e574193827ea3bd5b441 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 14 Oct 2022 11:29:34 -0400 Subject: [PATCH] add var --- vpc-transit-gateway-association/README.md | 1 + vpc-transit-gateway-association/variables.tf | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/vpc-transit-gateway-association/README.md b/vpc-transit-gateway-association/README.md index d6e155e..bc025b7 100644 --- a/vpc-transit-gateway-association/README.md +++ b/vpc-transit-gateway-association/README.md @@ -84,6 +84,7 @@ This sets up the necessary transit gateway configuration for attaching a VPC wit | [route\_table\_label](#input\_route\_table\_label) | Route table lable for the attachment subnets | `string` | `"attachment"` | no | | [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 | | [transit\_gateway\_environment](#input\_transit\_gateway\_environment) | Transit Gateway Environment (aka, VRF) to which to connnect this VPC | `string` | n/a | yes | +| [transit\_gateway\_label](#input\_transit\_gateway\_label) | Transit Gateway label for specific instance (sa, prod) | `string` | `"prod"` | no | | [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 | | [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/vpc-transit-gateway-association/variables.tf b/vpc-transit-gateway-association/variables.tf index 29ad7f0..d1c1568 100644 --- a/vpc-transit-gateway-association/variables.tf +++ b/vpc-transit-gateway-association/variables.tf @@ -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 @@ -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) +## } +