Skip to content

Commit b935e01

Browse files
authored
Merge pull request #49 from aws-ia/tgw-output
Include Transit Gateway Route Table in outputs
2 parents 77acd09 + 2ec30eb commit b935e01

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.header.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ module "vpc" {
1111
source = "aws-ia/vpc/aws"
1212
version = ">= 1.0.0"
1313
14-
name = "multi-az-vpc"
14+
name = "multi-az-vpc"
1515
cidr_block = "10.0.0.0/20"
16-
az_count = 3
16+
az_count = 3
1717
1818
subnets = {
1919
public = {

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ module "vpc" {
1212
source = "aws-ia/vpc/aws"
1313
version = ">= 1.0.0"
1414
15-
name = "multi-az-vpc"
15+
name = "multi-az-vpc"
1616
cidr_block = "10.0.0.0/20"
17-
az_count = 3
17+
az_count = 3
1818
1919
subnets = {
2020
public = {
@@ -92,8 +92,8 @@ The above example will cause only creating 2 new subnets in az `c` of the region
9292

9393
| Name | Version |
9494
|------|---------|
95-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.73.0 |
96-
| <a name="provider_awscc"></a> [awscc](#provider\_awscc) | >= 0.15.0 |
95+
| <a name="provider_aws"></a> [aws](#provider\_aws) | 4.14.0 |
96+
| <a name="provider_awscc"></a> [awscc](#provider\_awscc) | 0.21.0 |
9797

9898
## Modules
9999

@@ -161,4 +161,4 @@ The above example will cause only creating 2 new subnets in az `c` of the region
161161
| <a name="output_tgw_subnet_attributes_by_az"></a> [tgw\_subnet\_attributes\_by\_az](#output\_tgw\_subnet\_attributes\_by\_az) | Map of all transit gateway subnets containing their attributes. |
162162
| <a name="output_transit_gateway_attachment_id"></a> [transit\_gateway\_attachment\_id](#output\_transit\_gateway\_attachment\_id) | Transit gateway attachment id. |
163163
| <a name="output_vpc_attributes"></a> [vpc\_attributes](#output\_vpc\_attributes) | VPC resource attributes. Full output of aws\_vpc. |
164-
<!-- END_TF_DOCS -->
164+
<!-- END_TF_DOCS -->

outputs.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ output "route_table_by_subnet_type" {
4646
description = "Map of route tables by type => az => route table attributes. Example usage: module.vpc.route_table_by_subnet_type.private.id"
4747
value = {
4848
# TODO: omit keys if value is null
49-
"private" = awscc_ec2_route_table.private,
50-
"public" = awscc_ec2_route_table.public
49+
"private" = awscc_ec2_route_table.private,
50+
"public" = awscc_ec2_route_table.public
51+
"transit_gateway" = awscc_ec2_route_table.tgw
5152
}
5253
}
5354

0 commit comments

Comments
 (0)