Terraform Serverless VPC Endpoint configuration
Create the equivalent of mongodbatlasprivatelinkendpoint but for serverless.
Thanks Zuhair. I've configured this fine with Terraform but I'm unsure how to get the privatelink-aware connection strings out of my serverless instance.
With the advanced cluster resource, there is a specific connection string to use: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/advanced_cluster#connection_strings.private_endpoint
With the serverless resource, there just seems to be a generic connection string to use: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/serverless_instance#connection_strings_standard_srv
Thanks for any assistance
Hi Ben, we just updated below as part of the Terraform MongoDB Atlas Provider v1.6 release (https://registry.terraform.io/providers/mongodb/mongodbatlas/latest )! please note that we now support both AWS + Azure for Serverless Private Endpoints. see more details in our CHANGELOG (https://github.com/mongodb/terraform-provider-mongodbatlas/blob/master/CHANGELOG.md ). thanks again for sharing this feedback!
Thanks Ben, you are correct. Will create a new update (v1.6.0) and get this fixed for you. Will let you know when available (~2 weeks).(Edited by admin)
Thanks Zuhair + team, this is important for me too and I've just had a look at the upgrade guide at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.5.0-upgrade-guide, which references the new serverless endpoint, but I get a 404 trying to access the docs:
Please could you take a look when you have a moment? Thanks!
Hi Jaik / Artem / Michael, we released v1.5 of the Terraform MongoDB Atlas Provider which includes support for Serverless Endpoints. Feel free to try it out and let us know of any other feedback. Thank you again for raising this ticket and helping to prioritize on our roadmap! https://registry.terraform.io/providers/mongodb/mongodbatlas/latest
Hi Jaik, serverless private endpoints will be included as part of v1.5 which should be released in a few weeks time.
Is there any ETA available for this?
This feature would be helpful for my team.
A serverless setup should have the equivalent functionality because there is already a separate resource for dedicated instances.