Closed m-vojvodic closed 4 years ago
@m-vojvodic thank you very much for submitting this. We plan to address this item in our next round of work, starting in April. We'll tag this issue to the PR when ready so for anyone wanting to keep an eye out on this watch this issue for updates.
0.5.0 released today now supports all new connection strings as returned attributes: https://www.terraform.io/docs/providers/mongodbatlas/r/cluster.html#connection_strings
Atlas recently deprecated private IP mode in favor of private connections strings that point to private IP addresses of a cluster. Consequently, the Atlas team added new
private
andprivateSrv
fields to theconnectionStrings
value returned by the public API when there is an active peering connection for the Atlas project:Note that the documentation for these changes is in the process of being published but should be available on pages such as https://docs.atlas.mongodb.com/reference/api/clusters-get-one/ early this week.
The Terraform provider should support the new connection strings to allow users to connect to their clusters via private IP addresses.