跳到正文

DigitalOcean ​

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

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

Setup ​

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

Example ​

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

const instance = new digitalocean.Domain("test", {
  name: "mydomain.com",
  ipAddress: "192.168.10.10",
});

Libraries ​

The following packages are available in packager managers:

The DigitalOcean provider is open source and available in the pulumi/pulumi-digitalocean repo.

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