Skip to content

Commit

Permalink
* 2.10.8 -- 2024-11-18
Browse files Browse the repository at this point in the history
  - vpc-interface-endpoint
    - add zone_name, zone_id to output
  • Loading branch information
badra001 committed Nov 18, 2024
1 parent c140a1e commit db4f59a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,3 +426,7 @@
* 2.10.7 -- 2024-11-14
- vpc-interface-endpoint
- fix shortname for ssm and descriptions

* 2.10.8 -- 2024-11-18
- vpc-interface-endpoint
- add zone_name, zone_id to output
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
_module_version = "2.10.7"
_module_version = "2.10.8"
_module_names = {
"_main_" = "aws-vpc-setup"

Expand Down
2 changes: 2 additions & 0 deletions vpc-interface-endpoint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,6 @@ These are not included in the module because they don't exist until the resource
| Name | Description |
|------|-------------|
| <a name="output_vpce_service_info"></a> [vpce\_service\_info](#output\_vpce\_service\_info) | VPC Interface Endpoint information for service |
| <a name="output_vpce_zone_id"></a> [vpce\_zone\_id](#output\_vpce\_zone\_id) | VPC Interface Endpoint Route53 Zone ID |
| <a name="output_vpce_zone_name"></a> [vpce\_zone\_name](#output\_vpce\_zone\_name) | VPC Interface Endpoint Route53 Zone Name |
<!-- END_TF_DOCS -->
12 changes: 12 additions & 0 deletions vpc-interface-endpoint/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,17 @@ output "vpce_service_info" {
# "subnet_interface_id_map" = { for k, v in data.aws_network_interface.vpce_interfaces : v.subnet_id => k }
"subnet_interface_id_map" = zipmap(tolist(aws_vpc_endpoint.interface_endpoint.subnet_ids), tolist(aws_vpc_endpoint.interface_endpoint.network_interface_ids)),
# "subnet_interface_ip_map" = { for k, v in data.aws_network_interface.vpce_interfaces : v.subnet_id => v.private_ip }
zone_name = local.r53_create ? aws_route53_zone.vpce[0].name : null
zone_id = local.r53_create ? aws_route53_zone.vpce[0].id : null
}
}

output "vpce_zone_name" {
description = "VPC Interface Endpoint Route53 Zone Name"
value = local.r53_create ? aws_route53_zone.vpce[0].name : null
}

output "vpce_zone_id" {
description = "VPC Interface Endpoint Route53 Zone ID"
value = local.r53_create ? aws_route53_zone.vpce[0].id : null
}

0 comments on commit db4f59a

Please sign in to comment.