跳到正文

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 ​

typescript
import * as mongodbatlas from "@pulumi/mongodbatlas";

const project = new mongodbatlas.Project("my-demo-project", {
    orgId: "12345",
});

Libraries ​

The following packages are available in packager managers:

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

文档内容翻译自 Pulumi 官方文档。