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 Submitted
Categories Atlas
Created by Guest
Created on Feb 26, 2021

MongoDB Atlas Provider for AWS CDK

We use AWS CDK to deploy our infrastructure. Currently there is only a Terraform provider available to automate the MongoDB Atlas deployment. We would like to have such a provider also for AWS CDK. In a first step this provider should support: - mongodbatlas_cluster create, edit and delete clusters - mongodbatlas_databaseUser create and remove users Later full feature set like in Terraform should be supported. Currently we use a self written provider. But this has hundreds of lines of code and means a lot of maintenance effort. For our teams this additional effort can be a reason to favor AWS DocumentDB/DynamoDB over MongoDB.
  • Attach files
  • Guest
    Feb 28, 2022
    Hi Melissa, the mentioned CDK for Terraform is not exactly what we are looking for. That tool allows writing in CDK and translate it to tf code instead of CloudFormation. We want to stay on the AWS CloudFormation. What we like to have is a "native" CDK library that you can set up your MongoDB Atlas cluster in the same way with CDK as you can do it with tf.
  • Guest
    Feb 25, 2022
    Hi Sebastian and Scott, I'm curious if CDK for Terraform may fulfill your requirements? It's my understanding that it should work with any existing Terraform provider but we have not yet tested it with ours: https://github.com/hashicorp/terraform-cdk. Or are you looking specifically for CDK for CloudFormation?
  • Guest
    Feb 21, 2022
    Hey Scott at least from our side, we have not spent any effort yet. So nothing to share. If you start anything, please let me know. I would love to share it with our development teams. Maybe someone wants to contribute.
  • Guest
    Feb 19, 2022
    We're considering spinning up an open source project to do exactly this. If this project is already underway, is there a place where we can contribute?
  • Guest
    Mar 4, 2021
    Thanks for flagging this one Sebastian. We've developed a CloudFormation resource and will be looking into how we can weave that into an integrated CDK experience over time.