MongoDB Atlas v3.18.0 published on Thursday, Sep 12, 2024 by Pulumi
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.
Example
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 (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
mongodbatlas "github.com/pulumi/pulumi-mongodbatlas/sdk/v2/go/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",
});
});
}