Closed casperfrx closed 4 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @casperfrx 👋 Thanks for taking the time to submit this issue. It looks like this is a duplicate of #35914. We like to try to keep discussions consolidated, so we’re going to close this new issue in favor of that one.
Duplicate of #35914
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Replication Instances by default use Amazon-provided DNS for resolutions. However you can specificy custom DNS servers to the instance as well. See this Knowledge Center post: https://repost.aws/knowledge-center/dms-endpoint-connectivity-failures
The AWS CLI documentation also mentions this option: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-replication-instance.html
Specifically:
As does the API Reference: https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationInstance.html#DMS-CreateReplicationInstance-request-DnsNameServers
I've tested this CLI option and it works as expected. Custom DNS servers can be configured to a replication instance and they can then resolve DNS queries without the use of any extra AWS DNS service like Route53 Resolver to forward the DNS queries.
The Key/Value of the JSON returned by
aws dms describe-replication-instances
is{ ..., "DnsNameServers": "1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4", ... }
.Terraform does not yet provide this option. Kindly requesting to add as it would be a great feature to have.
Affected Resource(s) and/or Data Source(s)
aws_dms_replication_instance
Potential Terraform Configuration
References
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/create-replication-instance.html
https://repost.aws/knowledge-center/dms-endpoint-connectivity-failures
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/dms/describe-replication-instances.html
https://docs.aws.amazon.com/dms/latest/APIReference/API_CreateReplicationInstance.html
Would you like to implement a fix?
None