The Cloud Engineering Summit replay is available! See all your favorite talks, on demand. Watch Now

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.

Setup

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

Example

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

const project = new mongodbatlas.Project("my-demo-project");
import * as mongodbatlas from "@pulumi/mongodbatlas";

const project = new mongodbatlas.Project("my-demo-project");
import pulumi_mongodbatlas as mongodbatlas

project = mongodbatlas.Project("my-demo-project")
import (
  mongodbatlas "github.com/pulumi/pulumi-mongodbatlas/sdk/go/mongodbatlas"
)

project, _ := mongodb.NewProject(ctx, "my-demo-project", &mongodb.ProjectArgs{})
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{});
        });
}

Libraries

The following packages are available in packager managers:

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