Skip to content

Commit 8dd3351

Browse files
committed
feat: added v2 domain endpoints to outputs of this module
see hashicorp/terraform-provider-aws#38012
1 parent f4df730 commit 8dd3351

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

outputs.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@ output "domain_endpoint" {
1717
value = try(aws_opensearch_domain.this[0].endpoint, null)
1818
}
1919

20+
output "domain_endpoint_v2" {
21+
description = "V2 domain endpoint that works with both IPv4 and IPv6 addresses, used to submit index, search, and data upload requests"
22+
value = try(aws_opensearch_domain.this[0].endpoint_v2, null)
23+
}
24+
2025
output "domain_dashboard_endpoint" {
2126
description = "Domain-specific endpoint for Dashboard without https scheme"
2227
value = try(aws_opensearch_domain.this[0].dashboard_endpoint, null)
2328
}
2429

30+
output "domain_dashboard_endpoint_v2" {
31+
description = "V2 domain endpoint for Dashboard that works with both IPv4 and IPv6 addresses, without https scheme"
32+
value = try(aws_opensearch_domain.this[0].dashboard_endpoint_v2, null)
33+
}
34+
2535
################################################################################
2636
# Package Association(s)
2737
################################################################################

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 5.54"
7+
version = ">= 5.64"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)