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 Will Not Implement
Categories Atlas
Created by Guest
Created on Jun 5, 2022

A way to enable the Data API via Terraform

I just noticed that MongoDB Data API is no longer in beta (Congrats!). It think it would be quite useful if the there was a way to enable this option programmatically via Terraform.
  • ADMIN RESPONSE
    Aug 1, 2025
    The Data API has been deprecated so we will not be implementing.
  • Attach files
  • Guest
    Apr 21, 2023
    I'm not the original poster, but the primary reason for us is Atlas Serverless. When provisioning an Atlas Serverless environment for testing, you need the Data API so that you're not making wire protocol connections to Atlas. Being able to create this endpoint in Terraform means that you can continue to use IaC tools without an extra step.
  • Guest
    Sep 27, 2022
    Thanks Etienne. Good to learn more about this use case, can you share more? Also, I wonder if there is a better place to accomplish what you seek outside of Terraform since given declarative nature of terraform apply / destroy commands suspect these may have unintended consequences to your database queries. If you are open to brainstorming more feel free to send me an email at zuhair.ahmed@mongodb.com and we can find time to chat more live.