MongoDB Atlas

The MongoDB Atlas provider for Pulumi can be used to provision any of the resources available for MongoDB Atlas. The MongoDB Atlas provider must be configured with credentials to deploy and update resources in MongoDB Atlas.

See the full API documentation for complete details of the available MongoDB Atlas provider APIs.


The MongoDB Atlas provider supports several options for providing access to MongoDB Atlas credentials. See the MongoDB Atlas setup page for details.


const mongodbatlas = require("@pulumi/mongodbatlas")

const project = new mongodbatlas.Project("my-demo-project", {
    orgId: "12345",
import * as mongodbatlas from "@pulumi/mongodbatlas";

const project = new mongodbatlas.Project("my-demo-project", {
    orgId: "12345",
import pulumi_mongodbatlas as mongodbatlas

project = mongodbatlas.Project("my-demo-project", org_id="12345")
import (
    mongodbatlas ""

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        project, err := mongodb.NewProject(ctx, "my-demo-project", &mongodb.ProjectArgs{
        OrgId: pulumi.String("12345"),
    if err != nil {
        return err

    return nil
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Mongodbatlas;

class Program
    static Task Main() =>
        Deployment.Run(() => {
            project = new Project("my-demo-project", new ProjectArgs{
              OrgId = "12345",


The following packages are available in packager managers:

The MongoDB Atlas provider is open source and available in the pulumi/pulumi-mongodbatlas repo.