Come join Pulumi for the industry's first Cloud Engineering Summit! October 7–8. Save Your Spot


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.


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


const do = require("@pulumi/digitalocean")

const domain = new do.Domain("test", {
  name: "",
  ipAddress: "",
import * as do from "@pulumi/digitalocean";

const instance = new do.Domain("test", {
  name: "",
  ipAddress: "",
import pulumi_digitalocean as do

instance = do.Domain("test",
import (
  do ""

domain, _ := do.NewDomain(ctx, "test", &do.DomainArgs{
  Name:      pulumi.String(""),
  IpAddress: pulumi.String(""),
using System.Collections.Generic;
using System.Threading.Tasks;
using Pulumi;
using Pulumi.DigitalOcean;

class Program
    static Task Main() =>
        Deployment.Run(() => {
            var instance = new DigitalOcean.Domain("test", new DigitalOcean.DomainArgs
                Name = "",
                IpAddress = "",


The following packages are available in packager managers:

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