Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas
Created by Guest
Created on Aug 21, 2022

Terraform Serverless VPC Endpoint configuration

Create the equivalent of mongodbatlas_privatelink_endpoint but for serverless.
  • Attach files
  • Guest
    Nov 22, 2022
    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
  • Guest
    Nov 21, 2022
    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!
  • Guest
    Nov 9, 2022
    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).
  • Guest
    Nov 9, 2022
    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: https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/serverless_private_endpoints Please could you take a look when you have a moment? Thanks!
  • Guest
    Nov 8, 2022
    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
  • Guest
    Oct 16, 2022
    Hi Jaik, serverless private endpoints will be included as part of v1.5 which should be released in a few weeks time.
  • Guest
    Oct 16, 2022
    duplicate: https://feedback.mongodb.com/forums/924145-atlas/suggestions/45813817-mongodbatlas-serverless-privatelink-endpoint
  • Guest
    Oct 6, 2022
    Is there any ETA available for this?
  • Guest
    Oct 3, 2022
    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.