diff --git a/CHANGELOG.md b/CHANGELOG.md
index b2345ef..56a94f7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/common/version.tf b/common/version.tf
index 55d232f..25ec117 100644
--- a/common/version.tf
+++ b/common/version.tf
@@ -1,5 +1,5 @@
locals {
- _module_version = "2.10.7"
+ _module_version = "2.10.8"
_module_names = {
"_main_" = "aws-vpc-setup"
diff --git a/vpc-interface-endpoint/README.md b/vpc-interface-endpoint/README.md
index e32c401..407e58f 100644
--- a/vpc-interface-endpoint/README.md
+++ b/vpc-interface-endpoint/README.md
@@ -256,4 +256,6 @@ These are not included in the module because they don't exist until the resource
| Name | Description |
|------|-------------|
| [vpce\_service\_info](#output\_vpce\_service\_info) | VPC Interface Endpoint information for service |
+| [vpce\_zone\_id](#output\_vpce\_zone\_id) | VPC Interface Endpoint Route53 Zone ID |
+| [vpce\_zone\_name](#output\_vpce\_zone\_name) | VPC Interface Endpoint Route53 Zone Name |
\ No newline at end of file
diff --git a/vpc-interface-endpoint/outputs.tf b/vpc-interface-endpoint/outputs.tf
index 91a4a98..47518e6 100644
--- a/vpc-interface-endpoint/outputs.tf
+++ b/vpc-interface-endpoint/outputs.tf
@@ -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
+}