From 8dd335100120d10c4b8eb4eba96d1e02b2e97725 Mon Sep 17 00:00:00 2001 From: Moritz Zimmer Date: Wed, 28 Aug 2024 16:18:35 +0200 Subject: [PATCH 1/2] feat: added v2 domain endpoints to outputs of this module see https://github.com/hashicorp/terraform-provider-aws/issues/38012 --- outputs.tf | 10 ++++++++++ versions.tf | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index e0ab3a5..41ce029 100644 --- a/outputs.tf +++ b/outputs.tf @@ -17,11 +17,21 @@ output "domain_endpoint" { value = try(aws_opensearch_domain.this[0].endpoint, null) } +output "domain_endpoint_v2" { + description = "V2 domain endpoint that works with both IPv4 and IPv6 addresses, used to submit index, search, and data upload requests" + value = try(aws_opensearch_domain.this[0].endpoint_v2, null) +} + output "domain_dashboard_endpoint" { description = "Domain-specific endpoint for Dashboard without https scheme" value = try(aws_opensearch_domain.this[0].dashboard_endpoint, null) } +output "domain_dashboard_endpoint_v2" { + description = "V2 domain endpoint for Dashboard that works with both IPv4 and IPv6 addresses, without https scheme" + value = try(aws_opensearch_domain.this[0].dashboard_endpoint_v2, null) +} + ################################################################################ # Package Association(s) ################################################################################ diff --git a/versions.tf b/versions.tf index cfe9e2d..264f62f 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.54" + version = ">= 5.64" } } } From 20c7c583af8c678df96db7fd2b92cd669d97d36e Mon Sep 17 00:00:00 2001 From: Moritz Zimmer Date: Wed, 28 Aug 2024 16:22:38 +0200 Subject: [PATCH 2/2] updated docs --- README.md | 6 ++++-- wrappers/versions.tf | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 93903b2..5077b3d 100644 --- a/README.md +++ b/README.md @@ -144,13 +144,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | -| [aws](#requirement\_aws) | >= 5.54 | +| [aws](#requirement\_aws) | >= 5.64 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 5.54 | +| [aws](#provider\_aws) | >= 5.64 | ## Modules @@ -234,7 +234,9 @@ No modules. | [cloudwatch\_logs](#output\_cloudwatch\_logs) | Map of CloudWatch log groups created and their attributes | | [domain\_arn](#output\_domain\_arn) | The Amazon Resource Name (ARN) of the domain | | [domain\_dashboard\_endpoint](#output\_domain\_dashboard\_endpoint) | Domain-specific endpoint for Dashboard without https scheme | +| [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\_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/wrappers/versions.tf b/wrappers/versions.tf index cfe9e2d..264f62f 100644 --- a/wrappers/versions.tf +++ b/wrappers/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.54" + version = ">= 5.64" } } }