Deprecated, please see
awscdk-resources-mongodbatlas
.
A[n unfinished] set of CDK Custom Resources to manage constructs in MongoDB Atlas.
CDK helps managing cloud resources in AWS CloudFormation. The aws-cdk
includes a large number of constructs for resources relating to services within AWS, but also supports creating custom resources.
CloudFormation Custom Resources allow AWS customers to write custom provisioning logic, allowing the management of non-AWS native resources.
MongoDB Atlas is a managed database service in both dedicated servers & serverless NoSQL variants.
A neat feature is supporting authentication through AWS IAM Users & Roles.
The aim of this personal project was to learn about Custom Resources by building a provisioning wrapper around various MongoDB Atlas resources, e.g., users/roles, databases, indexes.
During mid-2022 I was using MongoDB for various work & hobby projects, but wanted to keep my IaC in CDK. This was a fun way to learn about CloudFormation, CDK, and Atlas.
In 2023 I moved onto other projects & subsequently MongoDB released their own CDK Third-Party Extension in collaboration with AWS (AWS DevOps blog).