Skip to content

Commit

Permalink
add outputs for vpc endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed May 3, 2021
1 parent 43d14df commit 315c9f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ No modules.
| <a name="output_availability_zone_suffixes"></a> [availability\_zone\_suffixes](#output\_availability\_zone\_suffixes) | VPC Availability zone suffix list (3) |
| <a name="output_private_route_table_ids"></a> [private\_route\_table\_ids](#output\_private\_route\_table\_ids) | Private route table IDs map by availability zone |
| <a name="output_public_route_table_ids"></a> [public\_route\_table\_ids](#output\_public\_route\_table\_ids) | Public route table IDs map by availability zone |
| <a name="output_vpc_endpoint_id_dynamodb"></a> [vpc\_endpoint\_id\_dynamodb](#output\_vpc\_endpoint\_id\_dynamodb) | VPC Endpoint ID for DynamoDB |
| <a name="output_vpc_endpoint_id_s3"></a> [vpc\_endpoint\_id\_s3](#output\_vpc\_endpoint\_id\_s3) | VPC Endpoint ID for S3 |
10 changes: 10 additions & 0 deletions routing/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ output "private_route_table_ids" {
description = "Private route table IDs map by availability zone"
value = { for k in local.availability_zones : k => aws_route_table.private[k].id }
}

output "vpc_endpoint_id_s3" {
description = "VPC Endpoint ID for S3"
value = local.vpce_s3
}

output "vpc_endpoint_id_dynamodb" {
description = "VPC Endpoint ID for DynamoDB"
value = local.vpce_dynamodb
}

0 comments on commit 315c9f1

Please sign in to comment.