From ba83d512fc0cf524e39fa8dbe25a401ff73bc530 Mon Sep 17 00:00:00 2001 From: Yaniv Zlotnik Date: Sat, 30 Nov 2024 23:32:51 +0200 Subject: [PATCH] feat: added hosted zone id to outputs Signed-off-by: Yaniv Zlotnik --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 6afbeea..87e3035 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,7 @@ No modules. | [domain\_dashboard\_endpoint\_v2](#output\_domain\_dashboard\_endpoint\_v2) | V2 domain endpoint for Dashboard that works with both IPv4 and IPv6 addresses, without https scheme | | [domain\_endpoint](#output\_domain\_endpoint) | Domain-specific endpoint used to submit index, search, and data upload requests | | [domain\_endpoint\_v2](#output\_domain\_endpoint\_v2) | V2 domain endpoint that works with both IPv4 and IPv6 addresses, used to submit index, search, and data upload requests | +| [domain\_endpoint\_v2\_hosted\_zone\_id](#output\_domain\_endpoint\_v2\_hosted\_zone\_id) | Dual stack hosted zone ID for the domain. | | [domain\_id](#output\_domain\_id) | The unique identifier for the domain | | [outbound\_connections](#output\_outbound\_connections) | Map of outbound connections created and their attributes | | [package\_associations](#output\_package\_associations) | Map of package associations created and their attributes | diff --git a/outputs.tf b/outputs.tf index 41ce029..eb706de 100644 --- a/outputs.tf +++ b/outputs.tf @@ -32,6 +32,11 @@ output "domain_dashboard_endpoint_v2" { value = try(aws_opensearch_domain.this[0].dashboard_endpoint_v2, null) } +output "domain_endpoint_v2_hosted_zone_id" { + description = "Dual stack hosted zone ID for the domain." + value = try(aws_opensearch_domain.this[0].domain_endpoint_v2_hosted_zone_id, null) +} + ################################################################################ # Package Association(s) ################################################################################