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:
- mongodbatlascluster create, edit and delete clusters
- mongodbatlasdatabaseUser 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.
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.
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?
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.
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?
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.