Skip to content

Commit 4e09835

Browse files
authored
feat: Added dual-stack domain endpoints to outputs (#23)
1 parent f4df730 commit 4e09835

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@ Examples codified under the [`examples`](https://github.com/terraform-aws-module
144144
| Name | Version |
145145
|------|---------|
146146
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0 |
147-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.54 |
147+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 5.64 |
148148

149149
## Providers
150150

151151
| Name | Version |
152152
|------|---------|
153-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.54 |
153+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.64 |
154154

155155
## Modules
156156

@@ -234,7 +234,9 @@ No modules.
234234
| <a name="output_cloudwatch_logs"></a> [cloudwatch\_logs](#output\_cloudwatch\_logs) | Map of CloudWatch log groups created and their attributes |
235235
| <a name="output_domain_arn"></a> [domain\_arn](#output\_domain\_arn) | The Amazon Resource Name (ARN) of the domain |
236236
| <a name="output_domain_dashboard_endpoint"></a> [domain\_dashboard\_endpoint](#output\_domain\_dashboard\_endpoint) | Domain-specific endpoint for Dashboard without https scheme |
237+
| <a name="output_domain_dashboard_endpoint_v2"></a> [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 |
237238
| <a name="output_domain_endpoint"></a> [domain\_endpoint](#output\_domain\_endpoint) | Domain-specific endpoint used to submit index, search, and data upload requests |
239+
| <a name="output_domain_endpoint_v2"></a> [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 |
238240
| <a name="output_domain_id"></a> [domain\_id](#output\_domain\_id) | The unique identifier for the domain |
239241
| <a name="output_outbound_connections"></a> [outbound\_connections](#output\_outbound\_connections) | Map of outbound connections created and their attributes |
240242
| <a name="output_package_associations"></a> [package\_associations](#output\_package\_associations) | Map of package associations created and their attributes |

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
}

wrappers/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)