OpenSearch: customEndpoint's CNAME should point to Dual-Stack endpoint when OpenSearch is using Dualstack #30480
Labels
@aws-cdk/aws-opensearch
Related to the @aws-cdk/aws-opensearchservice package
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p3
Describe the feature
When an OpenSearch domain is created with a customEndpoint, a CNAME is created pointing to the 'Domain endpoint (IPv4)' (https://[DOMAIN_ID].[REGION].es.amazonaws.com). If the OpenSearchDomain supports DualStack, then the customEndpoint should point to 'Domain endpoint v2 (dual stack)' (https://[DOMAIN_ID].aos.[REGION].on.aws).
Use Case
We are trying to get rid of IPv4 addresses. During the transition, it would be great to have everything running in dual-stack mode, and later in pure IPv6. Unfortunately, OpenSearch's custom endpoint doesn't currently support dual stack.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.144.0
Environment details (OS name and version, etc.)
macOS 14.5 23F79 / openjdk version "21.0.3" 2024-04-16
The text was updated successfully, but these errors were encountered: