From 89b31dfbea45fb9e82f193550417fab111cf54a3 Mon Sep 17 00:00:00 2001 From: Caio Fernandes <42192251+caiovfernandes@users.noreply.github.com> Date: Wed, 21 Aug 2024 05:02:12 -0300 Subject: [PATCH] Update _outputs.tf --- _outputs.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_outputs.tf b/_outputs.tf index be1885f..2e39c64 100644 --- a/_outputs.tf +++ b/_outputs.tf @@ -13,6 +13,12 @@ output "cluster_endpoint" { value = "https://${aws_route53_record.opensearch.fqdn}" } +output "cluster_vpc_endpoint" { + description = "The VPC endpoint URL of the OpenSearch cluster." + value = try(aws_elasticsearch_domain.opensearch.endpoint, "") +} + + output "kibana_endpoint" { description = "The endpoint URL of Kibana." value = "https://${aws_route53_record.opensearch.fqdn}/_dashboards/"