1. Packages
  2. DigitalOcean
  3. API Docs
  4. Droplet
DigitalOcean v4.29.0 published on Monday, May 6, 2024 by Pulumi

digitalocean.Droplet

Explore with Pulumi AI

digitalocean logo
DigitalOcean v4.29.0 published on Monday, May 6, 2024 by Pulumi

    Provides a DigitalOcean Droplet resource. This can be used to create, modify, and delete Droplets.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as digitalocean from "@pulumi/digitalocean";
    
    // Create a new Web Droplet in the nyc2 region
    const web = new digitalocean.Droplet("web", {
        image: "ubuntu-20-04-x64",
        region: digitalocean.Region.NYC2,
        size: digitalocean.DropletSlug.DropletS1VCPU1GB,
    });
    
    import pulumi
    import pulumi_digitalocean as digitalocean
    
    # Create a new Web Droplet in the nyc2 region
    web = digitalocean.Droplet("web",
        image="ubuntu-20-04-x64",
        region=digitalocean.Region.NYC2,
        size=digitalocean.DropletSlug.DROPLET_S1_VCPU1_GB)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-digitalocean/sdk/v4/go/digitalocean"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Create a new Web Droplet in the nyc2 region
    		_, err := digitalocean.NewDroplet(ctx, "web", &digitalocean.DropletArgs{
    			Image:  pulumi.String("ubuntu-20-04-x64"),
    			Region: pulumi.String(digitalocean.RegionNYC2),
    			Size:   pulumi.String(digitalocean.DropletSlugDropletS1VCPU1GB),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DigitalOcean = Pulumi.DigitalOcean;
    
    return await Deployment.RunAsync(() => 
    {
        // Create a new Web Droplet in the nyc2 region
        var web = new DigitalOcean.Droplet("web", new()
        {
            Image = "ubuntu-20-04-x64",
            Region = DigitalOcean.Region.NYC2,
            Size = DigitalOcean.DropletSlug.DropletS1VCPU1GB,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.digitalocean.Droplet;
    import com.pulumi.digitalocean.DropletArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Create a new Web Droplet in the nyc2 region
            var web = new Droplet("web", DropletArgs.builder()        
                .image("ubuntu-20-04-x64")
                .region("nyc2")
                .size("s-1vcpu-1gb")
                .build());
    
        }
    }
    
    resources:
      # Create a new Web Droplet in the nyc2 region
      web:
        type: digitalocean:Droplet
        properties:
          image: ubuntu-20-04-x64
          region: nyc2
          size: s-1vcpu-1gb
    

    Create Droplet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Droplet(name: string, args: DropletArgs, opts?: CustomResourceOptions);
    @overload
    def Droplet(resource_name: str,
                args: DropletArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Droplet(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                image: Optional[str] = None,
                size: Optional[Union[str, DropletSlug]] = None,
                private_networking: Optional[bool] = None,
                region: Optional[Union[str, Region]] = None,
                ipv6: Optional[bool] = None,
                ipv6_address: Optional[str] = None,
                monitoring: Optional[bool] = None,
                name: Optional[str] = None,
                backups: Optional[bool] = None,
                graceful_shutdown: Optional[bool] = None,
                resize_disk: Optional[bool] = None,
                droplet_agent: Optional[bool] = None,
                ssh_keys: Optional[Sequence[str]] = None,
                tags: Optional[Sequence[str]] = None,
                user_data: Optional[str] = None,
                volume_ids: Optional[Sequence[str]] = None,
                vpc_uuid: Optional[str] = None)
    func NewDroplet(ctx *Context, name string, args DropletArgs, opts ...ResourceOption) (*Droplet, error)
    public Droplet(string name, DropletArgs args, CustomResourceOptions? opts = null)
    public Droplet(String name, DropletArgs args)
    public Droplet(String name, DropletArgs args, CustomResourceOptions options)
    
    type: digitalocean:Droplet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DropletArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DropletArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DropletArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DropletArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DropletArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var dropletResource = new DigitalOcean.Droplet("dropletResource", new()
    {
        Image = "string",
        Size = "string",
        Region = "string",
        Ipv6 = false,
        Ipv6Address = "string",
        Monitoring = false,
        Name = "string",
        Backups = false,
        GracefulShutdown = false,
        ResizeDisk = false,
        DropletAgent = false,
        SshKeys = new[]
        {
            "string",
        },
        Tags = new[]
        {
            "string",
        },
        UserData = "string",
        VolumeIds = new[]
        {
            "string",
        },
        VpcUuid = "string",
    });
    
    example, err := digitalocean.NewDroplet(ctx, "dropletResource", &digitalocean.DropletArgs{
    	Image:            pulumi.String("string"),
    	Size:             pulumi.String("string"),
    	Region:           pulumi.String("string"),
    	Ipv6:             pulumi.Bool(false),
    	Ipv6Address:      pulumi.String("string"),
    	Monitoring:       pulumi.Bool(false),
    	Name:             pulumi.String("string"),
    	Backups:          pulumi.Bool(false),
    	GracefulShutdown: pulumi.Bool(false),
    	ResizeDisk:       pulumi.Bool(false),
    	DropletAgent:     pulumi.Bool(false),
    	SshKeys: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UserData: pulumi.String("string"),
    	VolumeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	VpcUuid: pulumi.String("string"),
    })
    
    var dropletResource = new Droplet("dropletResource", DropletArgs.builder()        
        .image("string")
        .size("string")
        .region("string")
        .ipv6(false)
        .ipv6Address("string")
        .monitoring(false)
        .name("string")
        .backups(false)
        .gracefulShutdown(false)
        .resizeDisk(false)
        .dropletAgent(false)
        .sshKeys("string")
        .tags("string")
        .userData("string")
        .volumeIds("string")
        .vpcUuid("string")
        .build());
    
    droplet_resource = digitalocean.Droplet("dropletResource",
        image="string",
        size="string",
        region="string",
        ipv6=False,
        ipv6_address="string",
        monitoring=False,
        name="string",
        backups=False,
        graceful_shutdown=False,
        resize_disk=False,
        droplet_agent=False,
        ssh_keys=["string"],
        tags=["string"],
        user_data="string",
        volume_ids=["string"],
        vpc_uuid="string")
    
    const dropletResource = new digitalocean.Droplet("dropletResource", {
        image: "string",
        size: "string",
        region: "string",
        ipv6: false,
        ipv6Address: "string",
        monitoring: false,
        name: "string",
        backups: false,
        gracefulShutdown: false,
        resizeDisk: false,
        dropletAgent: false,
        sshKeys: ["string"],
        tags: ["string"],
        userData: "string",
        volumeIds: ["string"],
        vpcUuid: "string",
    });
    
    type: digitalocean:Droplet
    properties:
        backups: false
        dropletAgent: false
        gracefulShutdown: false
        image: string
        ipv6: false
        ipv6Address: string
        monitoring: false
        name: string
        region: string
        resizeDisk: false
        size: string
        sshKeys:
            - string
        tags:
            - string
        userData: string
        volumeIds:
            - string
        vpcUuid: string
    

    Droplet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Droplet resource accepts the following input properties:

    Image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    Size string | Pulumi.DigitalOcean.DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    Backups bool
    Boolean controlling if backups are made. Defaults to false.
    DropletAgent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    GracefulShutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    Ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    Ipv6Address string
    The IPv6 address
    Monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    Name string
    The Droplet name.
    PrivateNetworking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Region string | Pulumi.DigitalOcean.Region
    The region where the Droplet will be created.
    ResizeDisk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    SshKeys List<string>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    Tags List<string>
    A list of the tags to be applied to this Droplet.
    UserData string
    A string of the desired User Data for the Droplet.
    VolumeIds List<string>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    VpcUuid string
    The ID of the VPC where the Droplet will be located.
    Image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    Size string | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    Backups bool
    Boolean controlling if backups are made. Defaults to false.
    DropletAgent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    GracefulShutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    Ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    Ipv6Address string
    The IPv6 address
    Monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    Name string
    The Droplet name.
    PrivateNetworking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Region string | Region
    The region where the Droplet will be created.
    ResizeDisk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    SshKeys []string
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    Tags []string
    A list of the tags to be applied to this Droplet.
    UserData string
    A string of the desired User Data for the Droplet.
    VolumeIds []string
    A list of the IDs of each block storage volume to be attached to the Droplet.
    VpcUuid string
    The ID of the VPC where the Droplet will be located.
    image String
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    size String | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    backups Boolean
    Boolean controlling if backups are made. Defaults to false.
    dropletAgent Boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    gracefulShutdown Boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    ipv6 Boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address String
    The IPv6 address
    monitoring Boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name String
    The Droplet name.
    privateNetworking Boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region String | Region
    The region where the Droplet will be created.
    resizeDisk Boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    sshKeys List<String>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    tags List<String>
    A list of the tags to be applied to this Droplet.
    userData String
    A string of the desired User Data for the Droplet.
    volumeIds List<String>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid String
    The ID of the VPC where the Droplet will be located.
    image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    size string | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    backups boolean
    Boolean controlling if backups are made. Defaults to false.
    dropletAgent boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    gracefulShutdown boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    ipv6 boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address string
    The IPv6 address
    monitoring boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name string
    The Droplet name.
    privateNetworking boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region string | Region
    The region where the Droplet will be created.
    resizeDisk boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    sshKeys string[]
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    tags string[]
    A list of the tags to be applied to this Droplet.
    userData string
    A string of the desired User Data for the Droplet.
    volumeIds string[]
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid string
    The ID of the VPC where the Droplet will be located.
    image str
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    size str | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    backups bool
    Boolean controlling if backups are made. Defaults to false.
    droplet_agent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    graceful_shutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6_address str
    The IPv6 address
    monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name str
    The Droplet name.
    private_networking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region str | Region
    The region where the Droplet will be created.
    resize_disk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    ssh_keys Sequence[str]
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    tags Sequence[str]
    A list of the tags to be applied to this Droplet.
    user_data str
    A string of the desired User Data for the Droplet.
    volume_ids Sequence[str]
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpc_uuid str
    The ID of the VPC where the Droplet will be located.
    image String
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    size String | "s-1vcpu-1gb" | "s-1vcpu-1gb-amd" | "s-1vcpu-1gb-intel" | "s-1vcpu-2gb" | "s-1vcpu-2gb-amd" | "s-1vcpu-2gb-intel" | "s-2vcpu-2gb" | "s-2vcpu-2gb-amd" | "s-2vcpu-2gb-intel" | "s-2vcpu-4gb" | "s-2vcpu-4gb-amd" | "s-2vcpu-4gb-intel" | "s-4vcpu-8gb" | "s-4vcpu-8gb-amd" | "s-4vcpu-8gb-intel" | "s-8vcpu-16gb-amd" | "s-8vcpu-16gb-intel" | "c-2" | "c2-2vcpu-4gb" | "c2-4vcpu-8gb" | "c2-8vcpu-16gb" | "c2-16vcpu-32gb" | "c2-32vcpu-64gb" | "c-4" | "c-8" | "c-16" | "c-32" | "g-2vcpu-8gb" | "g-4vcpu-16gb" | "g-8vcpu-32gb" | "g-16vcpu-64gb" | "g-32vcpu-128gb" | "g-40vcpu-160gb" | "gd-2vcpu-8gb" | "gd-4vcpu-16gb" | "gd-8vcpu-32gb" | "gd-16vcpu-64gb" | "gd-32vcpu-128gb" | "gd-40vcpu-160gb" | "s-8vcpu-16gb" | "m-2vcpu-16gb" | "m-4vcpu-32gb" | "m-8vcpu-64gb" | "m-16vcpu-128gb" | "m-24vcpu-192gb" | "m-32vcpu-256gb" | "m3-2vcpu-16gb" | "m3-4vcpu-32gb" | "m3-8vcpu-64gb" | "m3-16vcpu-128gb" | "m3-24vcpu-192gb" | "m3-32vcpu-256gb" | "m6-2vcpu-16gb" | "m6-4vcpu-32gb" | "m6-8vcpu-64gb" | "m6-16vcpu-128gb" | "m6-24vcpu-192gb" | "m6-32vcpu-256gb" | "so-2vcpu-16gb" | "so-4vcpu-32gb" | "so-8vcpu-64gb" | "so-16vcpu-128gb" | "so-24vcpu-192gb" | "so-32vcpu-256gb" | "so1_5-2vcpu-16gb" | "so1_5-4vcpu-32gb" | "so1_5-8vcpu-64gb" | "so1_5-16vcpu-128gb" | "so1_5-24vcpu-192gb" | "so1_5-32vcpu-256gb" | "512mb" | "1gb" | "2gb" | "4gb" | "8gb" | "16gb" | "32gb" | "48gb" | "64gb" | "s-1vcpu-3gb" | "s-3vcpu-1gb" | "s-6vcpu-16gb" | "s-8vcpu-32gb" | "s-12vcpu-48gb" | "s-16vcpu-64gb" | "s-20vcpu-96gb" | "s-24vcpu-128gb" | "s-32vcpu-192gb"
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    backups Boolean
    Boolean controlling if backups are made. Defaults to false.
    dropletAgent Boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    gracefulShutdown Boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    ipv6 Boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address String
    The IPv6 address
    monitoring Boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name String
    The Droplet name.
    privateNetworking Boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region String | "nyc1" | "nyc2" | "nyc3" | "sgp1" | "lon1" | "ams2" | "ams3" | "fra1" | "tor1" | "sfo1" | "sfo2" | "sfo3" | "blr1" | "syd1"
    The region where the Droplet will be created.
    resizeDisk Boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    sshKeys List<String>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    tags List<String>
    A list of the tags to be applied to this Droplet.
    userData String
    A string of the desired User Data for the Droplet.
    volumeIds List<String>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid String
    The ID of the VPC where the Droplet will be located.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Droplet resource produces the following output properties:

    CreatedAt string
    Disk int
    The size of the instance's disk in GB
    DropletUrn string
    The uniform resource name of the Droplet
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4Address string
    The IPv4 address
    Ipv4AddressPrivate string
    The private networking IPv4 address
    Locked bool
    Is the Droplet locked
    Memory int
    PriceHourly double
    Droplet hourly price
    PriceMonthly double
    Droplet monthly price
    Status string
    The status of the Droplet
    Vcpus int
    The number of the instance's virtual CPUs
    CreatedAt string
    Disk int
    The size of the instance's disk in GB
    DropletUrn string
    The uniform resource name of the Droplet
    Id string
    The provider-assigned unique ID for this managed resource.
    Ipv4Address string
    The IPv4 address
    Ipv4AddressPrivate string
    The private networking IPv4 address
    Locked bool
    Is the Droplet locked
    Memory int
    PriceHourly float64
    Droplet hourly price
    PriceMonthly float64
    Droplet monthly price
    Status string
    The status of the Droplet
    Vcpus int
    The number of the instance's virtual CPUs
    createdAt String
    disk Integer
    The size of the instance's disk in GB
    dropletUrn String
    The uniform resource name of the Droplet
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4Address String
    The IPv4 address
    ipv4AddressPrivate String
    The private networking IPv4 address
    locked Boolean
    Is the Droplet locked
    memory Integer
    priceHourly Double
    Droplet hourly price
    priceMonthly Double
    Droplet monthly price
    status String
    The status of the Droplet
    vcpus Integer
    The number of the instance's virtual CPUs
    createdAt string
    disk number
    The size of the instance's disk in GB
    dropletUrn string
    The uniform resource name of the Droplet
    id string
    The provider-assigned unique ID for this managed resource.
    ipv4Address string
    The IPv4 address
    ipv4AddressPrivate string
    The private networking IPv4 address
    locked boolean
    Is the Droplet locked
    memory number
    priceHourly number
    Droplet hourly price
    priceMonthly number
    Droplet monthly price
    status string
    The status of the Droplet
    vcpus number
    The number of the instance's virtual CPUs
    created_at str
    disk int
    The size of the instance's disk in GB
    droplet_urn str
    The uniform resource name of the Droplet
    id str
    The provider-assigned unique ID for this managed resource.
    ipv4_address str
    The IPv4 address
    ipv4_address_private str
    The private networking IPv4 address
    locked bool
    Is the Droplet locked
    memory int
    price_hourly float
    Droplet hourly price
    price_monthly float
    Droplet monthly price
    status str
    The status of the Droplet
    vcpus int
    The number of the instance's virtual CPUs
    createdAt String
    disk Number
    The size of the instance's disk in GB
    dropletUrn String
    The uniform resource name of the Droplet
    id String
    The provider-assigned unique ID for this managed resource.
    ipv4Address String
    The IPv4 address
    ipv4AddressPrivate String
    The private networking IPv4 address
    locked Boolean
    Is the Droplet locked
    memory Number
    priceHourly Number
    Droplet hourly price
    priceMonthly Number
    Droplet monthly price
    status String
    The status of the Droplet
    vcpus Number
    The number of the instance's virtual CPUs

    Look up Existing Droplet Resource

    Get an existing Droplet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DropletState, opts?: CustomResourceOptions): Droplet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backups: Optional[bool] = None,
            created_at: Optional[str] = None,
            disk: Optional[int] = None,
            droplet_agent: Optional[bool] = None,
            droplet_urn: Optional[str] = None,
            graceful_shutdown: Optional[bool] = None,
            image: Optional[str] = None,
            ipv4_address: Optional[str] = None,
            ipv4_address_private: Optional[str] = None,
            ipv6: Optional[bool] = None,
            ipv6_address: Optional[str] = None,
            locked: Optional[bool] = None,
            memory: Optional[int] = None,
            monitoring: Optional[bool] = None,
            name: Optional[str] = None,
            price_hourly: Optional[float] = None,
            price_monthly: Optional[float] = None,
            private_networking: Optional[bool] = None,
            region: Optional[Union[str, Region]] = None,
            resize_disk: Optional[bool] = None,
            size: Optional[Union[str, DropletSlug]] = None,
            ssh_keys: Optional[Sequence[str]] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            user_data: Optional[str] = None,
            vcpus: Optional[int] = None,
            volume_ids: Optional[Sequence[str]] = None,
            vpc_uuid: Optional[str] = None) -> Droplet
    func GetDroplet(ctx *Context, name string, id IDInput, state *DropletState, opts ...ResourceOption) (*Droplet, error)
    public static Droplet Get(string name, Input<string> id, DropletState? state, CustomResourceOptions? opts = null)
    public static Droplet get(String name, Output<String> id, DropletState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Backups bool
    Boolean controlling if backups are made. Defaults to false.
    CreatedAt string
    Disk int
    The size of the instance's disk in GB
    DropletAgent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    DropletUrn string
    The uniform resource name of the Droplet
    GracefulShutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    Image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    Ipv4Address string
    The IPv4 address
    Ipv4AddressPrivate string
    The private networking IPv4 address
    Ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    Ipv6Address string
    The IPv6 address
    Locked bool
    Is the Droplet locked
    Memory int
    Monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    Name string
    The Droplet name.
    PriceHourly double
    Droplet hourly price
    PriceMonthly double
    Droplet monthly price
    PrivateNetworking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Region string | Pulumi.DigitalOcean.Region
    The region where the Droplet will be created.
    ResizeDisk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    Size string | Pulumi.DigitalOcean.DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    SshKeys List<string>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    Status string
    The status of the Droplet
    Tags List<string>
    A list of the tags to be applied to this Droplet.
    UserData string
    A string of the desired User Data for the Droplet.
    Vcpus int
    The number of the instance's virtual CPUs
    VolumeIds List<string>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    VpcUuid string
    The ID of the VPC where the Droplet will be located.
    Backups bool
    Boolean controlling if backups are made. Defaults to false.
    CreatedAt string
    Disk int
    The size of the instance's disk in GB
    DropletAgent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    DropletUrn string
    The uniform resource name of the Droplet
    GracefulShutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    Image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    Ipv4Address string
    The IPv4 address
    Ipv4AddressPrivate string
    The private networking IPv4 address
    Ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    Ipv6Address string
    The IPv6 address
    Locked bool
    Is the Droplet locked
    Memory int
    Monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    Name string
    The Droplet name.
    PriceHourly float64
    Droplet hourly price
    PriceMonthly float64
    Droplet monthly price
    PrivateNetworking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Region string | Region
    The region where the Droplet will be created.
    ResizeDisk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    Size string | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    SshKeys []string
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    Status string
    The status of the Droplet
    Tags []string
    A list of the tags to be applied to this Droplet.
    UserData string
    A string of the desired User Data for the Droplet.
    Vcpus int
    The number of the instance's virtual CPUs
    VolumeIds []string
    A list of the IDs of each block storage volume to be attached to the Droplet.
    VpcUuid string
    The ID of the VPC where the Droplet will be located.
    backups Boolean
    Boolean controlling if backups are made. Defaults to false.
    createdAt String
    disk Integer
    The size of the instance's disk in GB
    dropletAgent Boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    dropletUrn String
    The uniform resource name of the Droplet
    gracefulShutdown Boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    image String
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    ipv4Address String
    The IPv4 address
    ipv4AddressPrivate String
    The private networking IPv4 address
    ipv6 Boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address String
    The IPv6 address
    locked Boolean
    Is the Droplet locked
    memory Integer
    monitoring Boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name String
    The Droplet name.
    priceHourly Double
    Droplet hourly price
    priceMonthly Double
    Droplet monthly price
    privateNetworking Boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region String | Region
    The region where the Droplet will be created.
    resizeDisk Boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    size String | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    sshKeys List<String>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    status String
    The status of the Droplet
    tags List<String>
    A list of the tags to be applied to this Droplet.
    userData String
    A string of the desired User Data for the Droplet.
    vcpus Integer
    The number of the instance's virtual CPUs
    volumeIds List<String>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid String
    The ID of the VPC where the Droplet will be located.
    backups boolean
    Boolean controlling if backups are made. Defaults to false.
    createdAt string
    disk number
    The size of the instance's disk in GB
    dropletAgent boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    dropletUrn string
    The uniform resource name of the Droplet
    gracefulShutdown boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    image string
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    ipv4Address string
    The IPv4 address
    ipv4AddressPrivate string
    The private networking IPv4 address
    ipv6 boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address string
    The IPv6 address
    locked boolean
    Is the Droplet locked
    memory number
    monitoring boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name string
    The Droplet name.
    priceHourly number
    Droplet hourly price
    priceMonthly number
    Droplet monthly price
    privateNetworking boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region string | Region
    The region where the Droplet will be created.
    resizeDisk boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    size string | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    sshKeys string[]
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    status string
    The status of the Droplet
    tags string[]
    A list of the tags to be applied to this Droplet.
    userData string
    A string of the desired User Data for the Droplet.
    vcpus number
    The number of the instance's virtual CPUs
    volumeIds string[]
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid string
    The ID of the VPC where the Droplet will be located.
    backups bool
    Boolean controlling if backups are made. Defaults to false.
    created_at str
    disk int
    The size of the instance's disk in GB
    droplet_agent bool
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    droplet_urn str
    The uniform resource name of the Droplet
    graceful_shutdown bool

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    image str
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    ipv4_address str
    The IPv4 address
    ipv4_address_private str
    The private networking IPv4 address
    ipv6 bool
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6_address str
    The IPv6 address
    locked bool
    Is the Droplet locked
    memory int
    monitoring bool
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name str
    The Droplet name.
    price_hourly float
    Droplet hourly price
    price_monthly float
    Droplet monthly price
    private_networking bool
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region str | Region
    The region where the Droplet will be created.
    resize_disk bool
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    size str | DropletSlug
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    ssh_keys Sequence[str]
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    status str
    The status of the Droplet
    tags Sequence[str]
    A list of the tags to be applied to this Droplet.
    user_data str
    A string of the desired User Data for the Droplet.
    vcpus int
    The number of the instance's virtual CPUs
    volume_ids Sequence[str]
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpc_uuid str
    The ID of the VPC where the Droplet will be located.
    backups Boolean
    Boolean controlling if backups are made. Defaults to false.
    createdAt String
    disk Number
    The size of the instance's disk in GB
    dropletAgent Boolean
    A boolean indicating whether to install the DigitalOcean agent used for providing access to the Droplet web console in the control panel. By default, the agent is installed on new Droplets but installation errors (i.e. OS not supported) are ignored. To prevent it from being installed, set to false. To make installation errors fatal, explicitly set it to true.
    dropletUrn String
    The uniform resource name of the Droplet
    gracefulShutdown Boolean

    A boolean indicating whether the droplet should be gracefully shut down before it is deleted.

    NOTE: If you use volume_ids on a Droplet, this provider will assume management over the full set volumes for the instance, and treat additional volumes as a drift. For this reason, volume_ids must not be mixed with external digitalocean.VolumeAttachment resources for a given instance.

    image String
    The Droplet image ID or slug. This could be either image ID or droplet snapshot ID.
    ipv4Address String
    The IPv4 address
    ipv4AddressPrivate String
    The private networking IPv4 address
    ipv6 Boolean
    Boolean controlling if IPv6 is enabled. Defaults to false. Once enabled for a Droplet, IPv6 can not be disabled. When enabling IPv6 on an existing Droplet, additional OS-level configuration is required.
    ipv6Address String
    The IPv6 address
    locked Boolean
    Is the Droplet locked
    memory Number
    monitoring Boolean
    Boolean controlling whether monitoring agent is installed. Defaults to false. If set to true, you can configure monitor alert policies monitor alert resource
    name String
    The Droplet name.
    priceHourly Number
    Droplet hourly price
    priceMonthly Number
    Droplet monthly price
    privateNetworking Boolean
    Deprecated Boolean controlling if private networking is enabled. This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    Deprecated: This parameter has been deprecated. Use vpc_uuid instead to specify a VPC network for the Droplet. If no vpc_uuid is provided, the Droplet will be placed in your account's default VPC for the region.

    region String | "nyc1" | "nyc2" | "nyc3" | "sgp1" | "lon1" | "ams2" | "ams3" | "fra1" | "tor1" | "sfo1" | "sfo2" | "sfo3" | "blr1" | "syd1"
    The region where the Droplet will be created.
    resizeDisk Boolean
    Boolean controlling whether to increase the disk size when resizing a Droplet. It defaults to true. When set to false, only the Droplet's RAM and CPU will be resized. Increasing a Droplet's disk size is a permanent change. Increasing only RAM and CPU is reversible.
    size String | "s-1vcpu-1gb" | "s-1vcpu-1gb-amd" | "s-1vcpu-1gb-intel" | "s-1vcpu-2gb" | "s-1vcpu-2gb-amd" | "s-1vcpu-2gb-intel" | "s-2vcpu-2gb" | "s-2vcpu-2gb-amd" | "s-2vcpu-2gb-intel" | "s-2vcpu-4gb" | "s-2vcpu-4gb-amd" | "s-2vcpu-4gb-intel" | "s-4vcpu-8gb" | "s-4vcpu-8gb-amd" | "s-4vcpu-8gb-intel" | "s-8vcpu-16gb-amd" | "s-8vcpu-16gb-intel" | "c-2" | "c2-2vcpu-4gb" | "c2-4vcpu-8gb" | "c2-8vcpu-16gb" | "c2-16vcpu-32gb" | "c2-32vcpu-64gb" | "c-4" | "c-8" | "c-16" | "c-32" | "g-2vcpu-8gb" | "g-4vcpu-16gb" | "g-8vcpu-32gb" | "g-16vcpu-64gb" | "g-32vcpu-128gb" | "g-40vcpu-160gb" | "gd-2vcpu-8gb" | "gd-4vcpu-16gb" | "gd-8vcpu-32gb" | "gd-16vcpu-64gb" | "gd-32vcpu-128gb" | "gd-40vcpu-160gb" | "s-8vcpu-16gb" | "m-2vcpu-16gb" | "m-4vcpu-32gb" | "m-8vcpu-64gb" | "m-16vcpu-128gb" | "m-24vcpu-192gb" | "m-32vcpu-256gb" | "m3-2vcpu-16gb" | "m3-4vcpu-32gb" | "m3-8vcpu-64gb" | "m3-16vcpu-128gb" | "m3-24vcpu-192gb" | "m3-32vcpu-256gb" | "m6-2vcpu-16gb" | "m6-4vcpu-32gb" | "m6-8vcpu-64gb" | "m6-16vcpu-128gb" | "m6-24vcpu-192gb" | "m6-32vcpu-256gb" | "so-2vcpu-16gb" | "so-4vcpu-32gb" | "so-8vcpu-64gb" | "so-16vcpu-128gb" | "so-24vcpu-192gb" | "so-32vcpu-256gb" | "so1_5-2vcpu-16gb" | "so1_5-4vcpu-32gb" | "so1_5-8vcpu-64gb" | "so1_5-16vcpu-128gb" | "so1_5-24vcpu-192gb" | "so1_5-32vcpu-256gb" | "512mb" | "1gb" | "2gb" | "4gb" | "8gb" | "16gb" | "32gb" | "48gb" | "64gb" | "s-1vcpu-3gb" | "s-3vcpu-1gb" | "s-6vcpu-16gb" | "s-8vcpu-32gb" | "s-12vcpu-48gb" | "s-16vcpu-64gb" | "s-20vcpu-96gb" | "s-24vcpu-128gb" | "s-32vcpu-192gb"
    The unique slug that indentifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
    sshKeys List<String>
    A list of SSH key IDs or fingerprints to enable in the format [12345, 123456]. To retrieve this info, use the DigitalOcean API or CLI (doctl compute ssh-key list). Once a Droplet is created keys can not be added or removed via this provider. Modifying this field will prompt you to destroy and recreate the Droplet.
    status String
    The status of the Droplet
    tags List<String>
    A list of the tags to be applied to this Droplet.
    userData String
    A string of the desired User Data for the Droplet.
    vcpus Number
    The number of the instance's virtual CPUs
    volumeIds List<String>
    A list of the IDs of each block storage volume to be attached to the Droplet.
    vpcUuid String
    The ID of the VPC where the Droplet will be located.

    Supporting Types

    DropletSlug, DropletSlugArgs

    DropletS1VCPU1GB
    s-1vcpu-1gb
    DropletS1VCPU1GB_AMD
    s-1vcpu-1gb-amd
    DropletS1VCPU1GB_INTEL
    s-1vcpu-1gb-intel
    DropletS1VCPU2GB
    s-1vcpu-2gb
    DropletS1VCPU2GB_AMD
    s-1vcpu-2gb-amd
    DropletS1VCPU2GB_INTEL
    s-1vcpu-2gb-intel
    DropletS2VCPU2GB
    s-2vcpu-2gb
    DropletS2VCPU2GB_AMD
    s-2vcpu-2gb-amd
    DropletS2VCPU2GB_INTEL
    s-2vcpu-2gb-intel
    DropletS2VCPU4GB
    s-2vcpu-4gb
    DropletS2VCPU4GB_AMD
    s-2vcpu-4gb-amd
    DropletS2VCPU4GB_INTEL
    s-2vcpu-4gb-intel
    DropletS4VCPU8GB
    s-4vcpu-8gb
    DropletS4VCPU8GB_AMD
    s-4vcpu-8gb-amd
    DropletS4VCPU8GB_INTEL
    s-4vcpu-8gb-intel
    DropletS8VCPU16GB_AMD
    s-8vcpu-16gb-amd
    DropletS8VCPU16GB_INTEL
    s-8vcpu-16gb-intel
    DropletC2
    c-2
    DropletC22VCPU4GB
    c2-2vcpu-4gb
    DropletC22VCPU8GB
    c2-4vcpu-8gb
    DropletC28VCPU16GB
    c2-8vcpu-16gb
    DropletC216VCPU32GB
    c2-16vcpu-32gb
    DropletC232VCPU64GB
    c2-32vcpu-64gb
    DropletC4
    c-4
    DropletC8
    c-8
    DropletC16
    c-16
    DropletC32
    c-32
    DropletG2VCPU8GB
    g-2vcpu-8gb
    DropletG4VCPU16GB
    g-4vcpu-16gb
    DropletG8VCPU32GB
    g-8vcpu-32gb
    DropletG16VCPU64GB
    g-16vcpu-64gb
    DropletG32VCPU128GB
    g-32vcpu-128gb
    DropletG40VCPU160GB
    g-40vcpu-160gb
    DropletGD2VCPU8GB
    gd-2vcpu-8gb
    DropletGD4VCPU16GB
    gd-4vcpu-16gb
    DropletGD8VCPU32GB
    gd-8vcpu-32gb
    DropletGD16VCPU64GB
    gd-16vcpu-64gb
    DropletGD32VCPU128GB
    gd-32vcpu-128gb
    DropletGD40VCPU160GB
    gd-40vcpu-160gb
    DropletS8VCPU16GB
    s-8vcpu-16gb
    DropletM2VCPU16GB
    m-2vcpu-16gb
    DropletM4VCPU32GB
    m-4vcpu-32gb
    DropletM8VCPU64GB
    m-8vcpu-64gb
    DropletM16VCPU128GB
    m-16vcpu-128gb
    DropletM24VCPU192GB
    m-24vcpu-192gb
    DropletM32VCPU256GB
    m-32vcpu-256gb
    DropletM32VCPU16GB
    m3-2vcpu-16gb
    DropletM34VCPU32GB
    m3-4vcpu-32gb
    DropletM38VCPU64GB
    m3-8vcpu-64gb
    DropletM316VCPU128GB
    m3-16vcpu-128gb
    DropletM324VCPU192GB
    m3-24vcpu-192gb
    DropletM332VCPU256GB
    m3-32vcpu-256gb
    DropletM62VCPU16GB
    m6-2vcpu-16gb
    DropletM64VCPU32GB
    m6-4vcpu-32gb
    DropletM68VCPU64GB
    m6-8vcpu-64gb
    DropletM616VCPU128GB
    m6-16vcpu-128gb
    DropletM624VCPU192GB
    m6-24vcpu-192gb
    DropletM632VCPU256GB
    m6-32vcpu-256gb
    DropletSO2VCPU16GB
    so-2vcpu-16gb
    DropletSO4VCPU32GB
    so-4vcpu-32gb
    DropletSO8VCPU64GB
    so-8vcpu-64gb
    DropletSO16VCPU128GB
    so-16vcpu-128gb
    DropletSO24VCPU192GB
    so-24vcpu-192gb
    DropletSO32VCPU256GB
    so-32vcpu-256gb
    DropletSO152VCPU16GB
    so1_5-2vcpu-16gb
    DropletSO154VCPU32GB
    so1_5-4vcpu-32gb
    DropletSO158VCPU64GB
    so1_5-8vcpu-64gb
    DropletSO1516VCPU128GB
    so1_5-16vcpu-128gb
    DropletSO1524VCPU192GB
    so1_5-24vcpu-192gb
    DropletSO1532VCPU256GB
    so1_5-32vcpu-256gb
    Droplet512mb
    512mb
    Droplet1GB
    1gb
    Droplet2GB
    2gb
    Droplet4GB
    4gb
    Droplet8GB
    8gb
    Droplet16GB
    16gb
    Droplet32GB
    32gb
    Droplet48GB
    48gb
    Droplet64GB
    64gb
    DropletS1VCPU3GB
    s-1vcpu-3gb
    DropletS3VCPU1GB
    s-3vcpu-1gb
    DropletS6VCPU16GB
    s-6vcpu-16gb
    DropletS8VCPU32GB
    s-8vcpu-32gb
    DropletS12VCPU48GB
    s-12vcpu-48gb
    DropletS16VCPU64GB
    s-16vcpu-64gb
    DropletS20VCPU96GB
    s-20vcpu-96gb
    DropletS24VCPU128GB
    s-24vcpu-128gb
    DropletS32VCPU192GB
    s-32vcpu-192gb
    DropletSlugDropletS1VCPU1GB
    s-1vcpu-1gb
    DropletSlug_DropletS1VCPU1GB_AMD
    s-1vcpu-1gb-amd
    DropletSlug_DropletS1VCPU1GB_INTEL
    s-1vcpu-1gb-intel
    DropletSlugDropletS1VCPU2GB
    s-1vcpu-2gb
    DropletSlug_DropletS1VCPU2GB_AMD
    s-1vcpu-2gb-amd
    DropletSlug_DropletS1VCPU2GB_INTEL
    s-1vcpu-2gb-intel
    DropletSlugDropletS2VCPU2GB
    s-2vcpu-2gb
    DropletSlug_DropletS2VCPU2GB_AMD
    s-2vcpu-2gb-amd
    DropletSlug_DropletS2VCPU2GB_INTEL
    s-2vcpu-2gb-intel
    DropletSlugDropletS2VCPU4GB
    s-2vcpu-4gb
    DropletSlug_DropletS2VCPU4GB_AMD
    s-2vcpu-4gb-amd
    DropletSlug_DropletS2VCPU4GB_INTEL
    s-2vcpu-4gb-intel
    DropletSlugDropletS4VCPU8GB
    s-4vcpu-8gb
    DropletSlug_DropletS4VCPU8GB_AMD
    s-4vcpu-8gb-amd
    DropletSlug_DropletS4VCPU8GB_INTEL
    s-4vcpu-8gb-intel
    DropletSlug_DropletS8VCPU16GB_AMD
    s-8vcpu-16gb-amd
    DropletSlug_DropletS8VCPU16GB_INTEL
    s-8vcpu-16gb-intel
    DropletSlugDropletC2
    c-2
    DropletSlugDropletC22VCPU4GB
    c2-2vcpu-4gb
    DropletSlugDropletC22VCPU8GB
    c2-4vcpu-8gb
    DropletSlugDropletC28VCPU16GB
    c2-8vcpu-16gb
    DropletSlugDropletC216VCPU32GB
    c2-16vcpu-32gb
    DropletSlugDropletC232VCPU64GB
    c2-32vcpu-64gb
    DropletSlugDropletC4
    c-4
    DropletSlugDropletC8
    c-8
    DropletSlugDropletC16
    c-16
    DropletSlugDropletC32
    c-32
    DropletSlugDropletG2VCPU8GB
    g-2vcpu-8gb
    DropletSlugDropletG4VCPU16GB
    g-4vcpu-16gb
    DropletSlugDropletG8VCPU32GB
    g-8vcpu-32gb
    DropletSlugDropletG16VCPU64GB
    g-16vcpu-64gb
    DropletSlugDropletG32VCPU128GB
    g-32vcpu-128gb
    DropletSlugDropletG40VCPU160GB
    g-40vcpu-160gb
    DropletSlugDropletGD2VCPU8GB
    gd-2vcpu-8gb
    DropletSlugDropletGD4VCPU16GB
    gd-4vcpu-16gb
    DropletSlugDropletGD8VCPU32GB
    gd-8vcpu-32gb
    DropletSlugDropletGD16VCPU64GB
    gd-16vcpu-64gb
    DropletSlugDropletGD32VCPU128GB
    gd-32vcpu-128gb
    DropletSlugDropletGD40VCPU160GB
    gd-40vcpu-160gb
    DropletSlugDropletS8VCPU16GB
    s-8vcpu-16gb
    DropletSlugDropletM2VCPU16GB
    m-2vcpu-16gb
    DropletSlugDropletM4VCPU32GB
    m-4vcpu-32gb
    DropletSlugDropletM8VCPU64GB
    m-8vcpu-64gb
    DropletSlugDropletM16VCPU128GB
    m-16vcpu-128gb
    DropletSlugDropletM24VCPU192GB
    m-24vcpu-192gb
    DropletSlugDropletM32VCPU256GB
    m-32vcpu-256gb
    DropletSlugDropletM32VCPU16GB
    m3-2vcpu-16gb
    DropletSlugDropletM34VCPU32GB
    m3-4vcpu-32gb
    DropletSlugDropletM38VCPU64GB
    m3-8vcpu-64gb
    DropletSlugDropletM316VCPU128GB
    m3-16vcpu-128gb
    DropletSlugDropletM324VCPU192GB
    m3-24vcpu-192gb
    DropletSlugDropletM332VCPU256GB
    m3-32vcpu-256gb
    DropletSlugDropletM62VCPU16GB
    m6-2vcpu-16gb
    DropletSlugDropletM64VCPU32GB
    m6-4vcpu-32gb
    DropletSlugDropletM68VCPU64GB
    m6-8vcpu-64gb
    DropletSlugDropletM616VCPU128GB
    m6-16vcpu-128gb
    DropletSlugDropletM624VCPU192GB
    m6-24vcpu-192gb
    DropletSlugDropletM632VCPU256GB
    m6-32vcpu-256gb
    DropletSlugDropletSO2VCPU16GB
    so-2vcpu-16gb
    DropletSlugDropletSO4VCPU32GB
    so-4vcpu-32gb
    DropletSlugDropletSO8VCPU64GB
    so-8vcpu-64gb
    DropletSlugDropletSO16VCPU128GB
    so-16vcpu-128gb
    DropletSlugDropletSO24VCPU192GB
    so-24vcpu-192gb
    DropletSlugDropletSO32VCPU256GB
    so-32vcpu-256gb
    DropletSlugDropletSO152VCPU16GB
    so1_5-2vcpu-16gb
    DropletSlugDropletSO154VCPU32GB
    so1_5-4vcpu-32gb
    DropletSlugDropletSO158VCPU64GB
    so1_5-8vcpu-64gb
    DropletSlugDropletSO1516VCPU128GB
    so1_5-16vcpu-128gb
    DropletSlugDropletSO1524VCPU192GB
    so1_5-24vcpu-192gb
    DropletSlugDropletSO1532VCPU256GB
    so1_5-32vcpu-256gb
    DropletSlugDroplet512mb
    512mb
    DropletSlugDroplet1GB
    1gb
    DropletSlugDroplet2GB
    2gb
    DropletSlugDroplet4GB
    4gb
    DropletSlugDroplet8GB
    8gb
    DropletSlugDroplet16GB
    16gb
    DropletSlugDroplet32GB
    32gb
    DropletSlugDroplet48GB
    48gb
    DropletSlugDroplet64GB
    64gb
    DropletSlugDropletS1VCPU3GB
    s-1vcpu-3gb
    DropletSlugDropletS3VCPU1GB
    s-3vcpu-1gb
    DropletSlugDropletS6VCPU16GB
    s-6vcpu-16gb
    DropletSlugDropletS8VCPU32GB
    s-8vcpu-32gb
    DropletSlugDropletS12VCPU48GB
    s-12vcpu-48gb
    DropletSlugDropletS16VCPU64GB
    s-16vcpu-64gb
    DropletSlugDropletS20VCPU96GB
    s-20vcpu-96gb
    DropletSlugDropletS24VCPU128GB
    s-24vcpu-128gb
    DropletSlugDropletS32VCPU192GB
    s-32vcpu-192gb
    DropletS1VCPU1GB
    s-1vcpu-1gb
    DropletS1VCPU1GBAMD
    s-1vcpu-1gb-amd
    DropletS1VCPU1GBINTEL
    s-1vcpu-1gb-intel
    DropletS1VCPU2GB
    s-1vcpu-2gb
    DropletS1VCPU2GBAMD
    s-1vcpu-2gb-amd
    DropletS1VCPU2GBINTEL
    s-1vcpu-2gb-intel
    DropletS2VCPU2GB
    s-2vcpu-2gb
    DropletS2VCPU2GBAMD
    s-2vcpu-2gb-amd
    DropletS2VCPU2GBINTEL
    s-2vcpu-2gb-intel
    DropletS2VCPU4GB
    s-2vcpu-4gb
    DropletS2VCPU4GBAMD
    s-2vcpu-4gb-amd
    DropletS2VCPU4GBINTEL
    s-2vcpu-4gb-intel
    DropletS4VCPU8GB
    s-4vcpu-8gb
    DropletS4VCPU8GBAMD
    s-4vcpu-8gb-amd
    DropletS4VCPU8GBINTEL
    s-4vcpu-8gb-intel
    DropletS8VCPU16GBAMD
    s-8vcpu-16gb-amd
    DropletS8VCPU16GBINTEL
    s-8vcpu-16gb-intel
    DropletC2
    c-2
    DropletC22VCPU4GB
    c2-2vcpu-4gb
    DropletC22VCPU8GB
    c2-4vcpu-8gb
    DropletC28VCPU16GB
    c2-8vcpu-16gb
    DropletC216VCPU32GB
    c2-16vcpu-32gb
    DropletC232VCPU64GB
    c2-32vcpu-64gb
    DropletC4
    c-4
    DropletC8
    c-8
    DropletC16
    c-16
    DropletC32
    c-32
    DropletG2VCPU8GB
    g-2vcpu-8gb
    DropletG4VCPU16GB
    g-4vcpu-16gb
    DropletG8VCPU32GB
    g-8vcpu-32gb
    DropletG16VCPU64GB
    g-16vcpu-64gb
    DropletG32VCPU128GB
    g-32vcpu-128gb
    DropletG40VCPU160GB
    g-40vcpu-160gb
    DropletGD2VCPU8GB
    gd-2vcpu-8gb
    DropletGD4VCPU16GB
    gd-4vcpu-16gb
    DropletGD8VCPU32GB
    gd-8vcpu-32gb
    DropletGD16VCPU64GB
    gd-16vcpu-64gb
    DropletGD32VCPU128GB
    gd-32vcpu-128gb
    DropletGD40VCPU160GB
    gd-40vcpu-160gb
    DropletS8VCPU16GB
    s-8vcpu-16gb
    DropletM2VCPU16GB
    m-2vcpu-16gb
    DropletM4VCPU32GB
    m-4vcpu-32gb
    DropletM8VCPU64GB
    m-8vcpu-64gb
    DropletM16VCPU128GB
    m-16vcpu-128gb
    DropletM24VCPU192GB
    m-24vcpu-192gb
    DropletM32VCPU256GB
    m-32vcpu-256gb
    DropletM32VCPU16GB
    m3-2vcpu-16gb
    DropletM34VCPU32GB
    m3-4vcpu-32gb
    DropletM38VCPU64GB
    m3-8vcpu-64gb
    DropletM316VCPU128GB
    m3-16vcpu-128gb
    DropletM324VCPU192GB
    m3-24vcpu-192gb
    DropletM332VCPU256GB
    m3-32vcpu-256gb
    DropletM62VCPU16GB
    m6-2vcpu-16gb
    DropletM64VCPU32GB
    m6-4vcpu-32gb
    DropletM68VCPU64GB
    m6-8vcpu-64gb
    DropletM616VCPU128GB
    m6-16vcpu-128gb
    DropletM624VCPU192GB
    m6-24vcpu-192gb
    DropletM632VCPU256GB
    m6-32vcpu-256gb
    DropletSO2VCPU16GB
    so-2vcpu-16gb
    DropletSO4VCPU32GB
    so-4vcpu-32gb
    DropletSO8VCPU64GB
    so-8vcpu-64gb
    DropletSO16VCPU128GB
    so-16vcpu-128gb
    DropletSO24VCPU192GB
    so-24vcpu-192gb
    DropletSO32VCPU256GB
    so-32vcpu-256gb
    DropletSO152VCPU16GB
    so1_5-2vcpu-16gb
    DropletSO154VCPU32GB
    so1_5-4vcpu-32gb
    DropletSO158VCPU64GB
    so1_5-8vcpu-64gb
    DropletSO1516VCPU128GB
    so1_5-16vcpu-128gb
    DropletSO1524VCPU192GB
    so1_5-24vcpu-192gb
    DropletSO1532VCPU256GB
    so1_5-32vcpu-256gb
    Droplet512mb
    512mb
    Droplet1GB
    1gb
    Droplet2GB
    2gb
    Droplet4GB
    4gb
    Droplet8GB
    8gb
    Droplet16GB
    16gb
    Droplet32GB
    32gb
    Droplet48GB
    48gb
    Droplet64GB
    64gb
    DropletS1VCPU3GB
    s-1vcpu-3gb
    DropletS3VCPU1GB
    s-3vcpu-1gb
    DropletS6VCPU16GB
    s-6vcpu-16gb
    DropletS8VCPU32GB
    s-8vcpu-32gb
    DropletS12VCPU48GB
    s-12vcpu-48gb
    DropletS16VCPU64GB
    s-16vcpu-64gb
    DropletS20VCPU96GB
    s-20vcpu-96gb
    DropletS24VCPU128GB
    s-24vcpu-128gb
    DropletS32VCPU192GB
    s-32vcpu-192gb
    DropletS1VCPU1GB
    s-1vcpu-1gb
    DropletS1VCPU1GB_AMD
    s-1vcpu-1gb-amd
    DropletS1VCPU1GB_INTEL
    s-1vcpu-1gb-intel
    DropletS1VCPU2GB
    s-1vcpu-2gb
    DropletS1VCPU2GB_AMD
    s-1vcpu-2gb-amd
    DropletS1VCPU2GB_INTEL
    s-1vcpu-2gb-intel
    DropletS2VCPU2GB
    s-2vcpu-2gb
    DropletS2VCPU2GB_AMD
    s-2vcpu-2gb-amd
    DropletS2VCPU2GB_INTEL
    s-2vcpu-2gb-intel
    DropletS2VCPU4GB
    s-2vcpu-4gb
    DropletS2VCPU4GB_AMD
    s-2vcpu-4gb-amd
    DropletS2VCPU4GB_INTEL
    s-2vcpu-4gb-intel
    DropletS4VCPU8GB
    s-4vcpu-8gb
    DropletS4VCPU8GB_AMD
    s-4vcpu-8gb-amd
    DropletS4VCPU8GB_INTEL
    s-4vcpu-8gb-intel
    DropletS8VCPU16GB_AMD
    s-8vcpu-16gb-amd
    DropletS8VCPU16GB_INTEL
    s-8vcpu-16gb-intel
    DropletC2
    c-2
    DropletC22VCPU4GB
    c2-2vcpu-4gb
    DropletC22VCPU8GB
    c2-4vcpu-8gb
    DropletC28VCPU16GB
    c2-8vcpu-16gb
    DropletC216VCPU32GB
    c2-16vcpu-32gb
    DropletC232VCPU64GB
    c2-32vcpu-64gb
    DropletC4
    c-4
    DropletC8
    c-8
    DropletC16
    c-16
    DropletC32
    c-32
    DropletG2VCPU8GB
    g-2vcpu-8gb
    DropletG4VCPU16GB
    g-4vcpu-16gb
    DropletG8VCPU32GB
    g-8vcpu-32gb
    DropletG16VCPU64GB
    g-16vcpu-64gb
    DropletG32VCPU128GB
    g-32vcpu-128gb
    DropletG40VCPU160GB
    g-40vcpu-160gb
    DropletGD2VCPU8GB
    gd-2vcpu-8gb
    DropletGD4VCPU16GB
    gd-4vcpu-16gb
    DropletGD8VCPU32GB
    gd-8vcpu-32gb
    DropletGD16VCPU64GB
    gd-16vcpu-64gb
    DropletGD32VCPU128GB
    gd-32vcpu-128gb
    DropletGD40VCPU160GB
    gd-40vcpu-160gb
    DropletS8VCPU16GB
    s-8vcpu-16gb
    DropletM2VCPU16GB
    m-2vcpu-16gb
    DropletM4VCPU32GB
    m-4vcpu-32gb
    DropletM8VCPU64GB
    m-8vcpu-64gb
    DropletM16VCPU128GB
    m-16vcpu-128gb
    DropletM24VCPU192GB
    m-24vcpu-192gb
    DropletM32VCPU256GB
    m-32vcpu-256gb
    DropletM32VCPU16GB
    m3-2vcpu-16gb
    DropletM34VCPU32GB
    m3-4vcpu-32gb
    DropletM38VCPU64GB
    m3-8vcpu-64gb
    DropletM316VCPU128GB
    m3-16vcpu-128gb
    DropletM324VCPU192GB
    m3-24vcpu-192gb
    DropletM332VCPU256GB
    m3-32vcpu-256gb
    DropletM62VCPU16GB
    m6-2vcpu-16gb
    DropletM64VCPU32GB
    m6-4vcpu-32gb
    DropletM68VCPU64GB
    m6-8vcpu-64gb
    DropletM616VCPU128GB
    m6-16vcpu-128gb
    DropletM624VCPU192GB
    m6-24vcpu-192gb
    DropletM632VCPU256GB
    m6-32vcpu-256gb
    DropletSO2VCPU16GB
    so-2vcpu-16gb
    DropletSO4VCPU32GB
    so-4vcpu-32gb
    DropletSO8VCPU64GB
    so-8vcpu-64gb
    DropletSO16VCPU128GB
    so-16vcpu-128gb
    DropletSO24VCPU192GB
    so-24vcpu-192gb
    DropletSO32VCPU256GB
    so-32vcpu-256gb
    DropletSO152VCPU16GB
    so1_5-2vcpu-16gb
    DropletSO154VCPU32GB
    so1_5-4vcpu-32gb
    DropletSO158VCPU64GB
    so1_5-8vcpu-64gb
    DropletSO1516VCPU128GB
    so1_5-16vcpu-128gb
    DropletSO1524VCPU192GB
    so1_5-24vcpu-192gb
    DropletSO1532VCPU256GB
    so1_5-32vcpu-256gb
    Droplet512mb
    512mb
    Droplet1GB
    1gb
    Droplet2GB
    2gb
    Droplet4GB
    4gb
    Droplet8GB
    8gb
    Droplet16GB
    16gb
    Droplet32GB
    32gb
    Droplet48GB
    48gb
    Droplet64GB
    64gb
    DropletS1VCPU3GB
    s-1vcpu-3gb
    DropletS3VCPU1GB
    s-3vcpu-1gb
    DropletS6VCPU16GB
    s-6vcpu-16gb
    DropletS8VCPU32GB
    s-8vcpu-32gb
    DropletS12VCPU48GB
    s-12vcpu-48gb
    DropletS16VCPU64GB
    s-16vcpu-64gb
    DropletS20VCPU96GB
    s-20vcpu-96gb
    DropletS24VCPU128GB
    s-24vcpu-128gb
    DropletS32VCPU192GB
    s-32vcpu-192gb
    DROPLET_S1_VCPU1_GB
    s-1vcpu-1gb
    DROPLET_S1_VCPU1_G_B_AMD
    s-1vcpu-1gb-amd
    DROPLET_S1_VCPU1_G_B_INTEL
    s-1vcpu-1gb-intel
    DROPLET_S1_VCPU2_GB
    s-1vcpu-2gb
    DROPLET_S1_VCPU2_G_B_AMD
    s-1vcpu-2gb-amd
    DROPLET_S1_VCPU2_G_B_INTEL
    s-1vcpu-2gb-intel
    DROPLET_S2_VCPU2_GB
    s-2vcpu-2gb
    DROPLET_S2_VCPU2_G_B_AMD
    s-2vcpu-2gb-amd
    DROPLET_S2_VCPU2_G_B_INTEL
    s-2vcpu-2gb-intel
    DROPLET_S2_VCPU4_GB
    s-2vcpu-4gb
    DROPLET_S2_VCPU4_G_B_AMD
    s-2vcpu-4gb-amd
    DROPLET_S2_VCPU4_G_B_INTEL
    s-2vcpu-4gb-intel
    DROPLET_S4_VCPU8_GB
    s-4vcpu-8gb
    DROPLET_S4_VCPU8_G_B_AMD
    s-4vcpu-8gb-amd
    DROPLET_S4_VCPU8_G_B_INTEL
    s-4vcpu-8gb-intel
    DROPLET_S8_VCPU16_G_B_AMD
    s-8vcpu-16gb-amd
    DROPLET_S8_VCPU16_G_B_INTEL
    s-8vcpu-16gb-intel
    DROPLET_C2
    c-2
    DROPLET_C22_VCPU4_GB
    c2-2vcpu-4gb
    DROPLET_C22_VCPU8_GB
    c2-4vcpu-8gb
    DROPLET_C28_VCPU16_GB
    c2-8vcpu-16gb
    DROPLET_C216_VCPU32_GB
    c2-16vcpu-32gb
    DROPLET_C232_VCPU64_GB
    c2-32vcpu-64gb
    DROPLET_C4
    c-4
    DROPLET_C8
    c-8
    DROPLET_C16
    c-16
    DROPLET_C32
    c-32
    DROPLET_G2_VCPU8_GB
    g-2vcpu-8gb
    DROPLET_G4_VCPU16_GB
    g-4vcpu-16gb
    DROPLET_G8_VCPU32_GB
    g-8vcpu-32gb
    DROPLET_G16_VCPU64_GB
    g-16vcpu-64gb
    DROPLET_G32_VCPU128_GB
    g-32vcpu-128gb
    DROPLET_G40_VCPU160_GB
    g-40vcpu-160gb
    DROPLET_GD2_VCPU8_GB
    gd-2vcpu-8gb
    DROPLET_GD4_VCPU16_GB
    gd-4vcpu-16gb
    DROPLET_GD8_VCPU32_GB
    gd-8vcpu-32gb
    DROPLET_GD16_VCPU64_GB
    gd-16vcpu-64gb
    DROPLET_GD32_VCPU128_GB
    gd-32vcpu-128gb
    DROPLET_GD40_VCPU160_GB
    gd-40vcpu-160gb
    DROPLET_S8_VCPU16_GB
    s-8vcpu-16gb
    DROPLET_M2_VCPU16_GB
    m-2vcpu-16gb
    DROPLET_M4_VCPU32_GB
    m-4vcpu-32gb
    DROPLET_M8_VCPU64_GB
    m-8vcpu-64gb
    DROPLET_M16_VCPU128_GB
    m-16vcpu-128gb
    DROPLET_M24_VCPU192_GB
    m-24vcpu-192gb
    DROPLET_M32_VCPU256_GB
    m-32vcpu-256gb
    DROPLET_M32_VCPU16_GB
    m3-2vcpu-16gb
    DROPLET_M34_VCPU32_GB
    m3-4vcpu-32gb
    DROPLET_M38_VCPU64_GB
    m3-8vcpu-64gb
    DROPLET_M316_VCPU128_GB
    m3-16vcpu-128gb
    DROPLET_M324_VCPU192_GB
    m3-24vcpu-192gb
    DROPLET_M332_VCPU256_GB
    m3-32vcpu-256gb
    DROPLET_M62_VCPU16_GB
    m6-2vcpu-16gb
    DROPLET_M64_VCPU32_GB
    m6-4vcpu-32gb
    DROPLET_M68_VCPU64_GB
    m6-8vcpu-64gb
    DROPLET_M616_VCPU128_GB
    m6-16vcpu-128gb
    DROPLET_M624_VCPU192_GB
    m6-24vcpu-192gb
    DROPLET_M632_VCPU256_GB
    m6-32vcpu-256gb
    DROPLET_SO2_VCPU16_GB
    so-2vcpu-16gb
    DROPLET_SO4_VCPU32_GB
    so-4vcpu-32gb
    DROPLET_SO8_VCPU64_GB
    so-8vcpu-64gb
    DROPLET_SO16_VCPU128_GB
    so-16vcpu-128gb
    DROPLET_SO24_VCPU192_GB
    so-24vcpu-192gb
    DROPLET_SO32_VCPU256_GB
    so-32vcpu-256gb
    DROPLET_SO152_VCPU16_GB
    so1_5-2vcpu-16gb
    DROPLET_SO154_VCPU32_GB
    so1_5-4vcpu-32gb
    DROPLET_SO158_VCPU64_GB
    so1_5-8vcpu-64gb
    DROPLET_SO1516_VCPU128_GB
    so1_5-16vcpu-128gb
    DROPLET_SO1524_VCPU192_GB
    so1_5-24vcpu-192gb
    DROPLET_SO1532_VCPU256_GB
    so1_5-32vcpu-256gb
    DROPLET512MB
    512mb
    DROPLET1_GB
    1gb
    DROPLET2_GB
    2gb
    DROPLET4_GB
    4gb
    DROPLET8_GB
    8gb
    DROPLET16_GB
    16gb
    DROPLET32_GB
    32gb
    DROPLET48_GB
    48gb
    DROPLET64_GB
    64gb
    DROPLET_S1_VCPU3_GB
    s-1vcpu-3gb
    DROPLET_S3_VCPU1_GB
    s-3vcpu-1gb
    DROPLET_S6_VCPU16_GB
    s-6vcpu-16gb
    DROPLET_S8_VCPU32_GB
    s-8vcpu-32gb
    DROPLET_S12_VCPU48_GB
    s-12vcpu-48gb
    DROPLET_S16_VCPU64_GB
    s-16vcpu-64gb
    DROPLET_S20_VCPU96_GB
    s-20vcpu-96gb
    DROPLET_S24_VCPU128_GB
    s-24vcpu-128gb
    DROPLET_S32_VCPU192_GB
    s-32vcpu-192gb
    "s-1vcpu-1gb"
    s-1vcpu-1gb
    "s-1vcpu-1gb-amd"
    s-1vcpu-1gb-amd
    "s-1vcpu-1gb-intel"
    s-1vcpu-1gb-intel
    "s-1vcpu-2gb"
    s-1vcpu-2gb
    "s-1vcpu-2gb-amd"
    s-1vcpu-2gb-amd
    "s-1vcpu-2gb-intel"
    s-1vcpu-2gb-intel
    "s-2vcpu-2gb"
    s-2vcpu-2gb
    "s-2vcpu-2gb-amd"
    s-2vcpu-2gb-amd
    "s-2vcpu-2gb-intel"
    s-2vcpu-2gb-intel
    "s-2vcpu-4gb"
    s-2vcpu-4gb
    "s-2vcpu-4gb-amd"
    s-2vcpu-4gb-amd
    "s-2vcpu-4gb-intel"
    s-2vcpu-4gb-intel
    "s-4vcpu-8gb"
    s-4vcpu-8gb
    "s-4vcpu-8gb-amd"
    s-4vcpu-8gb-amd
    "s-4vcpu-8gb-intel"
    s-4vcpu-8gb-intel
    "s-8vcpu-16gb-amd"
    s-8vcpu-16gb-amd
    "s-8vcpu-16gb-intel"
    s-8vcpu-16gb-intel
    "c-2"
    c-2
    "c2-2vcpu-4gb"
    c2-2vcpu-4gb
    "c2-4vcpu-8gb"
    c2-4vcpu-8gb
    "c2-8vcpu-16gb"
    c2-8vcpu-16gb
    "c2-16vcpu-32gb"
    c2-16vcpu-32gb
    "c2-32vcpu-64gb"
    c2-32vcpu-64gb
    "c-4"
    c-4
    "c-8"
    c-8
    "c-16"
    c-16
    "c-32"
    c-32
    "g-2vcpu-8gb"
    g-2vcpu-8gb
    "g-4vcpu-16gb"
    g-4vcpu-16gb
    "g-8vcpu-32gb"
    g-8vcpu-32gb
    "g-16vcpu-64gb"
    g-16vcpu-64gb
    "g-32vcpu-128gb"
    g-32vcpu-128gb
    "g-40vcpu-160gb"
    g-40vcpu-160gb
    "gd-2vcpu-8gb"
    gd-2vcpu-8gb
    "gd-4vcpu-16gb"
    gd-4vcpu-16gb
    "gd-8vcpu-32gb"
    gd-8vcpu-32gb
    "gd-16vcpu-64gb"
    gd-16vcpu-64gb
    "gd-32vcpu-128gb"
    gd-32vcpu-128gb
    "gd-40vcpu-160gb"
    gd-40vcpu-160gb
    "s-8vcpu-16gb"
    s-8vcpu-16gb
    "m-2vcpu-16gb"
    m-2vcpu-16gb
    "m-4vcpu-32gb"
    m-4vcpu-32gb
    "m-8vcpu-64gb"
    m-8vcpu-64gb
    "m-16vcpu-128gb"
    m-16vcpu-128gb
    "m-24vcpu-192gb"
    m-24vcpu-192gb
    "m-32vcpu-256gb"
    m-32vcpu-256gb
    "m3-2vcpu-16gb"
    m3-2vcpu-16gb
    "m3-4vcpu-32gb"
    m3-4vcpu-32gb
    "m3-8vcpu-64gb"
    m3-8vcpu-64gb
    "m3-16vcpu-128gb"
    m3-16vcpu-128gb
    "m3-24vcpu-192gb"
    m3-24vcpu-192gb
    "m3-32vcpu-256gb"
    m3-32vcpu-256gb
    "m6-2vcpu-16gb"
    m6-2vcpu-16gb
    "m6-4vcpu-32gb"
    m6-4vcpu-32gb
    "m6-8vcpu-64gb"
    m6-8vcpu-64gb
    "m6-16vcpu-128gb"
    m6-16vcpu-128gb
    "m6-24vcpu-192gb"
    m6-24vcpu-192gb
    "m6-32vcpu-256gb"
    m6-32vcpu-256gb
    "so-2vcpu-16gb"
    so-2vcpu-16gb
    "so-4vcpu-32gb"
    so-4vcpu-32gb
    "so-8vcpu-64gb"
    so-8vcpu-64gb
    "so-16vcpu-128gb"
    so-16vcpu-128gb
    "so-24vcpu-192gb"
    so-24vcpu-192gb
    "so-32vcpu-256gb"
    so-32vcpu-256gb
    "so1_5-2vcpu-16gb"
    so1_5-2vcpu-16gb
    "so1_5-4vcpu-32gb"
    so1_5-4vcpu-32gb
    "so1_5-8vcpu-64gb"
    so1_5-8vcpu-64gb
    "so1_5-16vcpu-128gb"
    so1_5-16vcpu-128gb
    "so1_5-24vcpu-192gb"
    so1_5-24vcpu-192gb
    "so1_5-32vcpu-256gb"
    so1_5-32vcpu-256gb
    "512mb"
    512mb
    "1gb"
    1gb
    "2gb"
    2gb
    "4gb"
    4gb
    "8gb"
    8gb
    "16gb"
    16gb
    "32gb"
    32gb
    "48gb"
    48gb
    "64gb"
    64gb
    "s-1vcpu-3gb"
    s-1vcpu-3gb
    "s-3vcpu-1gb"
    s-3vcpu-1gb
    "s-6vcpu-16gb"
    s-6vcpu-16gb
    "s-8vcpu-32gb"
    s-8vcpu-32gb
    "s-12vcpu-48gb"
    s-12vcpu-48gb
    "s-16vcpu-64gb"
    s-16vcpu-64gb
    "s-20vcpu-96gb"
    s-20vcpu-96gb
    "s-24vcpu-128gb"
    s-24vcpu-128gb
    "s-32vcpu-192gb"
    s-32vcpu-192gb

    Region, RegionArgs

    NYC1
    nyc1
    NYC2
    nyc2
    NYC3
    nyc3
    SGP1
    sgp1
    LON1
    lon1
    AMS2
    ams2
    AMS3
    ams3
    FRA1
    fra1
    TOR1
    tor1
    SFO1
    sfo1
    SFO2
    sfo2
    SFO3
    sfo3
    BLR1
    blr1
    SYD1
    syd1
    RegionNYC1
    nyc1
    RegionNYC2
    nyc2
    RegionNYC3
    nyc3
    RegionSGP1
    sgp1
    RegionLON1
    lon1
    RegionAMS2
    ams2
    RegionAMS3
    ams3
    RegionFRA1
    fra1
    RegionTOR1
    tor1
    RegionSFO1
    sfo1
    RegionSFO2
    sfo2
    RegionSFO3
    sfo3
    RegionBLR1
    blr1
    RegionSYD1
    syd1
    NYC1
    nyc1
    NYC2
    nyc2
    NYC3
    nyc3
    SGP1
    sgp1
    LON1
    lon1
    AMS2
    ams2
    AMS3
    ams3
    FRA1
    fra1
    TOR1
    tor1
    SFO1
    sfo1
    SFO2
    sfo2
    SFO3
    sfo3
    BLR1
    blr1
    SYD1
    syd1
    NYC1
    nyc1
    NYC2
    nyc2
    NYC3
    nyc3
    SGP1
    sgp1
    LON1
    lon1
    AMS2
    ams2
    AMS3
    ams3
    FRA1
    fra1
    TOR1
    tor1
    SFO1
    sfo1
    SFO2
    sfo2
    SFO3
    sfo3
    BLR1
    blr1
    SYD1
    syd1
    NYC1
    nyc1
    NYC2
    nyc2
    NYC3
    nyc3
    SGP1
    sgp1
    LON1
    lon1
    AMS2
    ams2
    AMS3
    ams3
    FRA1
    fra1
    TOR1
    tor1
    SFO1
    sfo1
    SFO2
    sfo2
    SFO3
    sfo3
    BLR1
    blr1
    SYD1
    syd1
    "nyc1"
    nyc1
    "nyc2"
    nyc2
    "nyc3"
    nyc3
    "sgp1"
    sgp1
    "lon1"
    lon1
    "ams2"
    ams2
    "ams3"
    ams3
    "fra1"
    fra1
    "tor1"
    tor1
    "sfo1"
    sfo1
    "sfo2"
    sfo2
    "sfo3"
    sfo3
    "blr1"
    blr1
    "syd1"
    syd1

    Import

    Droplets can be imported using the Droplet id, e.g.

    $ pulumi import digitalocean:index/droplet:Droplet mydroplet 100823
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    DigitalOcean pulumi/pulumi-digitalocean
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the digitalocean Terraform Provider.
    digitalocean logo
    DigitalOcean v4.29.0 published on Monday, May 6, 2024 by Pulumi