digitalocean.Droplet
Explore with Pulumi AI
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",
name: "web-1",
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",
name="web-1",
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"),
Name: pulumi.String("web-1"),
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",
Name = "web-1",
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")
.name("web-1")
.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
name: web-1
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.
Constructor 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.
Digital Ocean. Droplet Slug - The unique slug that identifies 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 totrue
. - 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 externaldigitalocean.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.
- 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 novpc_uuid
is provided, the Droplet will be placed in your account's default VPC for the region. - Region
string | Pulumi.
Digital Ocean. 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 tofalse
, 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 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. - List<string>
- A list of the tags to be applied to this Droplet.
- User
Data string - A string of the desired User Data for the Droplet.
- Volume
Ids List<string> - A list of the IDs of each block storage volume to be attached to the Droplet.
- Vpc
Uuid 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 | Droplet
Slug - The unique slug that identifies 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 totrue
. - 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 externaldigitalocean.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.
- 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 novpc_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.
- Resize
Disk bool - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 []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. - []string
- A list of the tags to be applied to this Droplet.
- User
Data string - A string of the desired User Data for the Droplet.
- Volume
Ids []string - A list of the IDs of each block storage volume to be attached to the Droplet.
- Vpc
Uuid 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 | Droplet
Slug - The unique slug that identifies 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.
- droplet
Agent 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 totrue
. - graceful
Shutdown 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 externaldigitalocean.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.
- private
Networking 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 novpc_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.
- resize
Disk Boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 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. - List<String>
- A list of the tags to be applied to this Droplet.
- user
Data String - A string of the desired User Data for the Droplet.
- volume
Ids List<String> - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid 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 | Droplet
Slug - The unique slug that identifies 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.
- droplet
Agent 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 totrue
. - graceful
Shutdown 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 externaldigitalocean.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.
- private
Networking 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 novpc_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.
- resize
Disk boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 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. - string[]
- A list of the tags to be applied to this Droplet.
- user
Data string - A string of the desired User Data for the Droplet.
- volume
Ids string[] - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid 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 | Droplet
Slug - The unique slug that identifies 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 totrue
. - 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 externaldigitalocean.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 novpc_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 tofalse
, 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. - 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 identifies 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.
- droplet
Agent 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 totrue
. - graceful
Shutdown 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 externaldigitalocean.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.
- private
Networking 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 novpc_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.
- resize
Disk Boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 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. - List<String>
- A list of the tags to be applied to this Droplet.
- user
Data String - A string of the desired User Data for the Droplet.
- volume
Ids List<String> - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid 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:
- Created
At string - Disk int
- The size of the instance's disk in GB
- Droplet
Urn string - The uniform resource name of the Droplet
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The IPv4 address
- Ipv4Address
Private string - The private networking IPv4 address
- Locked bool
- Is the Droplet locked
- Memory int
- Price
Hourly double - Droplet hourly price
- Price
Monthly double - Droplet monthly price
- Status string
- The status of the Droplet
- Vcpus int
- The number of the instance's virtual CPUs
- Created
At string - Disk int
- The size of the instance's disk in GB
- Droplet
Urn string - The uniform resource name of the Droplet
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- The IPv4 address
- Ipv4Address
Private string - The private networking IPv4 address
- Locked bool
- Is the Droplet locked
- Memory int
- Price
Hourly float64 - Droplet hourly price
- Price
Monthly float64 - Droplet monthly price
- Status string
- The status of the Droplet
- Vcpus int
- The number of the instance's virtual CPUs
- created
At String - disk Integer
- The size of the instance's disk in GB
- droplet
Urn String - The uniform resource name of the Droplet
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The IPv4 address
- ipv4Address
Private String - The private networking IPv4 address
- locked Boolean
- Is the Droplet locked
- memory Integer
- price
Hourly Double - Droplet hourly price
- price
Monthly Double - Droplet monthly price
- status String
- The status of the Droplet
- vcpus Integer
- The number of the instance's virtual CPUs
- created
At string - disk number
- The size of the instance's disk in GB
- droplet
Urn string - The uniform resource name of the Droplet
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Address string
- The IPv4 address
- ipv4Address
Private string - The private networking IPv4 address
- locked boolean
- Is the Droplet locked
- memory number
- price
Hourly number - Droplet hourly price
- price
Monthly 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_ strprivate - 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
- created
At String - disk Number
- The size of the instance's disk in GB
- droplet
Urn String - The uniform resource name of the Droplet
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- The IPv4 address
- ipv4Address
Private String - The private networking IPv4 address
- locked Boolean
- Is the Droplet locked
- memory Number
- price
Hourly Number - Droplet hourly price
- price
Monthly 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.
- Backups bool
- Boolean controlling if backups are made. Defaults to false.
- Created
At string - 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 totrue
. - Droplet
Urn string - 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 externaldigitalocean.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
- Ipv4Address
Private 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.
- Price
Hourly double - Droplet hourly price
- Price
Monthly double - 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 novpc_uuid
is provided, the Droplet will be placed in your account's default VPC for the region. - Region
string | Pulumi.
Digital Ocean. 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 tofalse
, 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.
Digital Ocean. Droplet Slug - The unique slug that identifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
- Ssh
Keys 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
- List<string>
- A list of the tags to be applied to this Droplet.
- User
Data string - A string of the desired User Data for the Droplet.
- Vcpus int
- The number of the instance's virtual CPUs
- Volume
Ids List<string> - A list of the IDs of each block storage volume to be attached to the Droplet.
- Vpc
Uuid 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 string - 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 totrue
. - Droplet
Urn string - 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 externaldigitalocean.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
- Ipv4Address
Private 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.
- Price
Hourly float64 - Droplet hourly price
- Price
Monthly float64 - 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 novpc_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.
- Resize
Disk bool - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 | Droplet
Slug - The unique slug that identifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
- Ssh
Keys []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
- []string
- A list of the tags to be applied to this Droplet.
- User
Data string - A string of the desired User Data for the Droplet.
- Vcpus int
- The number of the instance's virtual CPUs
- Volume
Ids []string - A list of the IDs of each block storage volume to be attached to the Droplet.
- Vpc
Uuid string - The ID of the VPC where the Droplet will be located.
- backups Boolean
- Boolean controlling if backups are made. Defaults to false.
- created
At String - disk Integer
- The size of the instance's disk in GB
- droplet
Agent 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 totrue
. - droplet
Urn String - The uniform resource name of the Droplet
- graceful
Shutdown 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 externaldigitalocean.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
- ipv4Address
Private 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.
- price
Hourly Double - Droplet hourly price
- price
Monthly Double - Droplet monthly price
- private
Networking 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 novpc_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.
- resize
Disk Boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 | Droplet
Slug - The unique slug that identifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
- ssh
Keys 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
- List<String>
- A list of the tags to be applied to this Droplet.
- user
Data String - A string of the desired User Data for the Droplet.
- vcpus Integer
- The number of the instance's virtual CPUs
- volume
Ids List<String> - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid String - The ID of the VPC where the Droplet will be located.
- backups boolean
- Boolean controlling if backups are made. Defaults to false.
- created
At string - disk number
- The size of the instance's disk in GB
- droplet
Agent 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 totrue
. - droplet
Urn string - The uniform resource name of the Droplet
- graceful
Shutdown 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 externaldigitalocean.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
- ipv4Address
Private 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.
- price
Hourly number - Droplet hourly price
- price
Monthly number - Droplet monthly price
- private
Networking 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 novpc_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.
- resize
Disk boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 | Droplet
Slug - The unique slug that identifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
- ssh
Keys 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
- string[]
- A list of the tags to be applied to this Droplet.
- user
Data string - A string of the desired User Data for the Droplet.
- vcpus number
- The number of the instance's virtual CPUs
- volume
Ids string[] - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid 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 totrue
. - 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 externaldigitalocean.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_ strprivate - 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 novpc_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 tofalse
, 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 | Droplet
Slug - The unique slug that identifies 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
- 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.
- created
At String - disk Number
- The size of the instance's disk in GB
- droplet
Agent 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 totrue
. - droplet
Urn String - The uniform resource name of the Droplet
- graceful
Shutdown 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 externaldigitalocean.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
- ipv4Address
Private 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.
- price
Hourly Number - Droplet hourly price
- price
Monthly Number - Droplet monthly price
- private
Networking 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 novpc_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.
- resize
Disk Boolean - Boolean controlling whether to increase the disk
size when resizing a Droplet. It defaults to
true
. When set tofalse
, 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 identifies the type of Droplet. You can find a list of available slugs on DigitalOcean API documentation.
- ssh
Keys 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
- List<String>
- A list of the tags to be applied to this Droplet.
- user
Data String - A string of the desired User Data for the Droplet.
- vcpus Number
- The number of the instance's virtual CPUs
- volume
Ids List<String> - A list of the IDs of each block storage volume to be attached to the Droplet.
- vpc
Uuid String - The ID of the VPC where the Droplet will be located.
Supporting Types
DropletSlug, DropletSlugArgs
- Droplet
S1VCPU1GB - s-1vcpu-1gb
- Droplet
S1VCPU1GB_AMD - s-1vcpu-1gb-amd
- Droplet
S1VCPU1GB_INTEL - s-1vcpu-1gb-intel
- Droplet
S1VCPU2GB - s-1vcpu-2gb
- Droplet
S1VCPU2GB_AMD - s-1vcpu-2gb-amd
- Droplet
S1VCPU2GB_INTEL - s-1vcpu-2gb-intel
- Droplet
S2VCPU2GB - s-2vcpu-2gb
- Droplet
S2VCPU2GB_AMD - s-2vcpu-2gb-amd
- Droplet
S2VCPU2GB_INTEL - s-2vcpu-2gb-intel
- Droplet
S2VCPU4GB - s-2vcpu-4gb
- Droplet
S2VCPU4GB_AMD - s-2vcpu-4gb-amd
- Droplet
S2VCPU4GB_INTEL - s-2vcpu-4gb-intel
- Droplet
S4VCPU8GB - s-4vcpu-8gb
- Droplet
S4VCPU8GB_AMD - s-4vcpu-8gb-amd
- Droplet
S4VCPU8GB_INTEL - s-4vcpu-8gb-intel
- Droplet
S8VCPU16GB_AMD - s-8vcpu-16gb-amd
- Droplet
S8VCPU16GB_INTEL - s-8vcpu-16gb-intel
- Droplet
C2 - c-2
- Droplet
C22VCPU4GB - c2-2vcpu-4gb
- Droplet
C22VCPU8GB - c2-4vcpu-8gb
- Droplet
C28VCPU16GB - c2-8vcpu-16gb
- Droplet
C216VCPU32GB - c2-16vcpu-32gb
- Droplet
C232VCPU64GB - c2-32vcpu-64gb
- Droplet
C4 - c-4
- Droplet
C8 - c-8
- Droplet
C16 - c-16
- Droplet
C32 - c-32
- Droplet
G2VCPU8GB - g-2vcpu-8gb
- Droplet
G4VCPU16GB - g-4vcpu-16gb
- Droplet
G8VCPU32GB - g-8vcpu-32gb
- Droplet
G16VCPU64GB - g-16vcpu-64gb
- Droplet
G32VCPU128GB - g-32vcpu-128gb
- Droplet
G40VCPU160GB - g-40vcpu-160gb
- Droplet
GD2VCPU8GB - gd-2vcpu-8gb
- Droplet
GD4VCPU16GB - gd-4vcpu-16gb
- Droplet
GD8VCPU32GB - gd-8vcpu-32gb
- Droplet
GD16VCPU64GB - gd-16vcpu-64gb
- Droplet
GD32VCPU128GB - gd-32vcpu-128gb
- Droplet
GD40VCPU160GB - gd-40vcpu-160gb
- Droplet
S8VCPU16GB - s-8vcpu-16gb
- Droplet
M2VCPU16GB - m-2vcpu-16gb
- Droplet
M4VCPU32GB - m-4vcpu-32gb
- Droplet
M8VCPU64GB - m-8vcpu-64gb
- Droplet
M16VCPU128GB - m-16vcpu-128gb
- Droplet
M24VCPU192GB - m-24vcpu-192gb
- Droplet
M32VCPU256GB - m-32vcpu-256gb
- Droplet
M32VCPU16GB - m3-2vcpu-16gb
- Droplet
M34VCPU32GB - m3-4vcpu-32gb
- Droplet
M38VCPU64GB - m3-8vcpu-64gb
- Droplet
M316VCPU128GB - m3-16vcpu-128gb
- Droplet
M324VCPU192GB - m3-24vcpu-192gb
- Droplet
M332VCPU256GB - m3-32vcpu-256gb
- Droplet
M62VCPU16GB - m6-2vcpu-16gb
- Droplet
M64VCPU32GB - m6-4vcpu-32gb
- Droplet
M68VCPU64GB - m6-8vcpu-64gb
- Droplet
M616VCPU128GB - m6-16vcpu-128gb
- Droplet
M624VCPU192GB - m6-24vcpu-192gb
- Droplet
M632VCPU256GB - m6-32vcpu-256gb
- Droplet
SO2VCPU16GB - so-2vcpu-16gb
- Droplet
SO4VCPU32GB - so-4vcpu-32gb
- Droplet
SO8VCPU64GB - so-8vcpu-64gb
- Droplet
SO16VCPU128GB - so-16vcpu-128gb
- Droplet
SO24VCPU192GB - so-24vcpu-192gb
- Droplet
SO32VCPU256GB - so-32vcpu-256gb
- Droplet
SO152VCPU16GB - so1_5-2vcpu-16gb
- Droplet
SO154VCPU32GB - so1_5-4vcpu-32gb
- Droplet
SO158VCPU64GB - so1_5-8vcpu-64gb
- Droplet
SO1516VCPU128GB - so1_5-16vcpu-128gb
- Droplet
SO1524VCPU192GB - so1_5-24vcpu-192gb
- Droplet
SO1532VCPU256GB - so1_5-32vcpu-256gb
- Droplet512mb
- 512mb
- Droplet1GB
- 1gb
- Droplet2GB
- 2gb
- Droplet4GB
- 4gb
- Droplet8GB
- 8gb
- Droplet16GB
- 16gb
- Droplet32GB
- 32gb
- Droplet48GB
- 48gb
- Droplet64GB
- 64gb
- Droplet
S1VCPU3GB - s-1vcpu-3gb
- Droplet
S3VCPU1GB - s-3vcpu-1gb
- Droplet
S6VCPU16GB - s-6vcpu-16gb
- Droplet
S8VCPU32GB - s-8vcpu-32gb
- Droplet
S12VCPU48GB - s-12vcpu-48gb
- Droplet
S16VCPU64GB - s-16vcpu-64gb
- Droplet
S20VCPU96GB - s-20vcpu-96gb
- Droplet
S24VCPU128GB - s-24vcpu-128gb
- Droplet
S32VCPU192GB - s-32vcpu-192gb
- Droplet
Slug Droplet S1VCPU1GB - s-1vcpu-1gb
- Droplet
Slug_Droplet S1VCPU1GB_AMD - s-1vcpu-1gb-amd
- Droplet
Slug_Droplet S1VCPU1GB_INTEL - s-1vcpu-1gb-intel
- Droplet
Slug Droplet S1VCPU2GB - s-1vcpu-2gb
- Droplet
Slug_Droplet S1VCPU2GB_AMD - s-1vcpu-2gb-amd
- Droplet
Slug_Droplet S1VCPU2GB_INTEL - s-1vcpu-2gb-intel
- Droplet
Slug Droplet S2VCPU2GB - s-2vcpu-2gb
- Droplet
Slug_Droplet S2VCPU2GB_AMD - s-2vcpu-2gb-amd
- Droplet
Slug_Droplet S2VCPU2GB_INTEL - s-2vcpu-2gb-intel
- Droplet
Slug Droplet S2VCPU4GB - s-2vcpu-4gb
- Droplet
Slug_Droplet S2VCPU4GB_AMD - s-2vcpu-4gb-amd
- Droplet
Slug_Droplet S2VCPU4GB_INTEL - s-2vcpu-4gb-intel
- Droplet
Slug Droplet S4VCPU8GB - s-4vcpu-8gb
- Droplet
Slug_Droplet S4VCPU8GB_AMD - s-4vcpu-8gb-amd
- Droplet
Slug_Droplet S4VCPU8GB_INTEL - s-4vcpu-8gb-intel
- Droplet
Slug_Droplet S8VCPU16GB_AMD - s-8vcpu-16gb-amd
- Droplet
Slug_Droplet S8VCPU16GB_INTEL - s-8vcpu-16gb-intel
- Droplet
Slug Droplet C2 - c-2
- Droplet
Slug Droplet C22VCPU4GB - c2-2vcpu-4gb
- Droplet
Slug Droplet C22VCPU8GB - c2-4vcpu-8gb
- Droplet
Slug Droplet C28VCPU16GB - c2-8vcpu-16gb
- Droplet
Slug Droplet C216VCPU32GB - c2-16vcpu-32gb
- Droplet
Slug Droplet C232VCPU64GB - c2-32vcpu-64gb
- Droplet
Slug Droplet C4 - c-4
- Droplet
Slug Droplet C8 - c-8
- Droplet
Slug Droplet C16 - c-16
- Droplet
Slug Droplet C32 - c-32
- Droplet
Slug Droplet G2VCPU8GB - g-2vcpu-8gb
- Droplet
Slug Droplet G4VCPU16GB - g-4vcpu-16gb
- Droplet
Slug Droplet G8VCPU32GB - g-8vcpu-32gb
- Droplet
Slug Droplet G16VCPU64GB - g-16vcpu-64gb
- Droplet
Slug Droplet G32VCPU128GB - g-32vcpu-128gb
- Droplet
Slug Droplet G40VCPU160GB - g-40vcpu-160gb
- Droplet
Slug Droplet GD2VCPU8GB - gd-2vcpu-8gb
- Droplet
Slug Droplet GD4VCPU16GB - gd-4vcpu-16gb
- Droplet
Slug Droplet GD8VCPU32GB - gd-8vcpu-32gb
- Droplet
Slug Droplet GD16VCPU64GB - gd-16vcpu-64gb
- Droplet
Slug Droplet GD32VCPU128GB - gd-32vcpu-128gb
- Droplet
Slug Droplet GD40VCPU160GB - gd-40vcpu-160gb
- Droplet
Slug Droplet S8VCPU16GB - s-8vcpu-16gb
- Droplet
Slug Droplet M2VCPU16GB - m-2vcpu-16gb
- Droplet
Slug Droplet M4VCPU32GB - m-4vcpu-32gb
- Droplet
Slug Droplet M8VCPU64GB - m-8vcpu-64gb
- Droplet
Slug Droplet M16VCPU128GB - m-16vcpu-128gb
- Droplet
Slug Droplet M24VCPU192GB - m-24vcpu-192gb
- Droplet
Slug Droplet M32VCPU256GB - m-32vcpu-256gb
- Droplet
Slug Droplet M32VCPU16GB - m3-2vcpu-16gb
- Droplet
Slug Droplet M34VCPU32GB - m3-4vcpu-32gb
- Droplet
Slug Droplet M38VCPU64GB - m3-8vcpu-64gb
- Droplet
Slug Droplet M316VCPU128GB - m3-16vcpu-128gb
- Droplet
Slug Droplet M324VCPU192GB - m3-24vcpu-192gb
- Droplet
Slug Droplet M332VCPU256GB - m3-32vcpu-256gb
- Droplet
Slug Droplet M62VCPU16GB - m6-2vcpu-16gb
- Droplet
Slug Droplet M64VCPU32GB - m6-4vcpu-32gb
- Droplet
Slug Droplet M68VCPU64GB - m6-8vcpu-64gb
- Droplet
Slug Droplet M616VCPU128GB - m6-16vcpu-128gb
- Droplet
Slug Droplet M624VCPU192GB - m6-24vcpu-192gb
- Droplet
Slug Droplet M632VCPU256GB - m6-32vcpu-256gb
- Droplet
Slug Droplet SO2VCPU16GB - so-2vcpu-16gb
- Droplet
Slug Droplet SO4VCPU32GB - so-4vcpu-32gb
- Droplet
Slug Droplet SO8VCPU64GB - so-8vcpu-64gb
- Droplet
Slug Droplet SO16VCPU128GB - so-16vcpu-128gb
- Droplet
Slug Droplet SO24VCPU192GB - so-24vcpu-192gb
- Droplet
Slug Droplet SO32VCPU256GB - so-32vcpu-256gb
- Droplet
Slug Droplet SO152VCPU16GB - so1_5-2vcpu-16gb
- Droplet
Slug Droplet SO154VCPU32GB - so1_5-4vcpu-32gb
- Droplet
Slug Droplet SO158VCPU64GB - so1_5-8vcpu-64gb
- Droplet
Slug Droplet SO1516VCPU128GB - so1_5-16vcpu-128gb
- Droplet
Slug Droplet SO1524VCPU192GB - so1_5-24vcpu-192gb
- Droplet
Slug Droplet SO1532VCPU256GB - so1_5-32vcpu-256gb
- Droplet
Slug Droplet512mb - 512mb
- Droplet
Slug Droplet1GB - 1gb
- Droplet
Slug Droplet2GB - 2gb
- Droplet
Slug Droplet4GB - 4gb
- Droplet
Slug Droplet8GB - 8gb
- Droplet
Slug Droplet16GB - 16gb
- Droplet
Slug Droplet32GB - 32gb
- Droplet
Slug Droplet48GB - 48gb
- Droplet
Slug Droplet64GB - 64gb
- Droplet
Slug Droplet S1VCPU3GB - s-1vcpu-3gb
- Droplet
Slug Droplet S3VCPU1GB - s-3vcpu-1gb
- Droplet
Slug Droplet S6VCPU16GB - s-6vcpu-16gb
- Droplet
Slug Droplet S8VCPU32GB - s-8vcpu-32gb
- Droplet
Slug Droplet S12VCPU48GB - s-12vcpu-48gb
- Droplet
Slug Droplet S16VCPU64GB - s-16vcpu-64gb
- Droplet
Slug Droplet S20VCPU96GB - s-20vcpu-96gb
- Droplet
Slug Droplet S24VCPU128GB - s-24vcpu-128gb
- Droplet
Slug Droplet S32VCPU192GB - s-32vcpu-192gb
- Droplet
S1VCPU1GB - s-1vcpu-1gb
- Droplet
S1VCPU1GBAMD - s-1vcpu-1gb-amd
- Droplet
S1VCPU1GBINTEL - s-1vcpu-1gb-intel
- Droplet
S1VCPU2GB - s-1vcpu-2gb
- Droplet
S1VCPU2GBAMD - s-1vcpu-2gb-amd
- Droplet
S1VCPU2GBINTEL - s-1vcpu-2gb-intel
- Droplet
S2VCPU2GB - s-2vcpu-2gb
- Droplet
S2VCPU2GBAMD - s-2vcpu-2gb-amd
- Droplet
S2VCPU2GBINTEL - s-2vcpu-2gb-intel
- Droplet
S2VCPU4GB - s-2vcpu-4gb
- Droplet
S2VCPU4GBAMD - s-2vcpu-4gb-amd
- Droplet
S2VCPU4GBINTEL - s-2vcpu-4gb-intel
- Droplet
S4VCPU8GB - s-4vcpu-8gb
- Droplet
S4VCPU8GBAMD - s-4vcpu-8gb-amd
- Droplet
S4VCPU8GBINTEL - s-4vcpu-8gb-intel
- Droplet
S8VCPU16GBAMD - s-8vcpu-16gb-amd
- Droplet
S8VCPU16GBINTEL - s-8vcpu-16gb-intel
- Droplet
C2 - c-2
- Droplet
C22VCPU4GB - c2-2vcpu-4gb
- Droplet
C22VCPU8GB - c2-4vcpu-8gb
- Droplet
C28VCPU16GB - c2-8vcpu-16gb
- Droplet
C216VCPU32GB - c2-16vcpu-32gb
- Droplet
C232VCPU64GB - c2-32vcpu-64gb
- Droplet
C4 - c-4
- Droplet
C8 - c-8
- Droplet
C16 - c-16
- Droplet
C32 - c-32
- Droplet
G2VCPU8GB - g-2vcpu-8gb
- Droplet
G4VCPU16GB - g-4vcpu-16gb
- Droplet
G8VCPU32GB - g-8vcpu-32gb
- Droplet
G16VCPU64GB - g-16vcpu-64gb
- Droplet
G32VCPU128GB - g-32vcpu-128gb
- Droplet
G40VCPU160GB - g-40vcpu-160gb
- Droplet
GD2VCPU8GB - gd-2vcpu-8gb
- Droplet
GD4VCPU16GB - gd-4vcpu-16gb
- Droplet
GD8VCPU32GB - gd-8vcpu-32gb
- Droplet
GD16VCPU64GB - gd-16vcpu-64gb
- Droplet
GD32VCPU128GB - gd-32vcpu-128gb
- Droplet
GD40VCPU160GB - gd-40vcpu-160gb
- Droplet
S8VCPU16GB - s-8vcpu-16gb
- Droplet
M2VCPU16GB - m-2vcpu-16gb
- Droplet
M4VCPU32GB - m-4vcpu-32gb
- Droplet
M8VCPU64GB - m-8vcpu-64gb
- Droplet
M16VCPU128GB - m-16vcpu-128gb
- Droplet
M24VCPU192GB - m-24vcpu-192gb
- Droplet
M32VCPU256GB - m-32vcpu-256gb
- Droplet
M32VCPU16GB - m3-2vcpu-16gb
- Droplet
M34VCPU32GB - m3-4vcpu-32gb
- Droplet
M38VCPU64GB - m3-8vcpu-64gb
- Droplet
M316VCPU128GB - m3-16vcpu-128gb
- Droplet
M324VCPU192GB - m3-24vcpu-192gb
- Droplet
M332VCPU256GB - m3-32vcpu-256gb
- Droplet
M62VCPU16GB - m6-2vcpu-16gb
- Droplet
M64VCPU32GB - m6-4vcpu-32gb
- Droplet
M68VCPU64GB - m6-8vcpu-64gb
- Droplet
M616VCPU128GB - m6-16vcpu-128gb
- Droplet
M624VCPU192GB - m6-24vcpu-192gb
- Droplet
M632VCPU256GB - m6-32vcpu-256gb
- Droplet
SO2VCPU16GB - so-2vcpu-16gb
- Droplet
SO4VCPU32GB - so-4vcpu-32gb
- Droplet
SO8VCPU64GB - so-8vcpu-64gb
- Droplet
SO16VCPU128GB - so-16vcpu-128gb
- Droplet
SO24VCPU192GB - so-24vcpu-192gb
- Droplet
SO32VCPU256GB - so-32vcpu-256gb
- Droplet
SO152VCPU16GB - so1_5-2vcpu-16gb
- Droplet
SO154VCPU32GB - so1_5-4vcpu-32gb
- Droplet
SO158VCPU64GB - so1_5-8vcpu-64gb
- Droplet
SO1516VCPU128GB - so1_5-16vcpu-128gb
- Droplet
SO1524VCPU192GB - so1_5-24vcpu-192gb
- Droplet
SO1532VCPU256GB - so1_5-32vcpu-256gb
- Droplet512mb
- 512mb
- Droplet1GB
- 1gb
- Droplet2GB
- 2gb
- Droplet4GB
- 4gb
- Droplet8GB
- 8gb
- Droplet16GB
- 16gb
- Droplet32GB
- 32gb
- Droplet48GB
- 48gb
- Droplet64GB
- 64gb
- Droplet
S1VCPU3GB - s-1vcpu-3gb
- Droplet
S3VCPU1GB - s-3vcpu-1gb
- Droplet
S6VCPU16GB - s-6vcpu-16gb
- Droplet
S8VCPU32GB - s-8vcpu-32gb
- Droplet
S12VCPU48GB - s-12vcpu-48gb
- Droplet
S16VCPU64GB - s-16vcpu-64gb
- Droplet
S20VCPU96GB - s-20vcpu-96gb
- Droplet
S24VCPU128GB - s-24vcpu-128gb
- Droplet
S32VCPU192GB - s-32vcpu-192gb
- Droplet
S1VCPU1GB - s-1vcpu-1gb
- Droplet
S1VCPU1GB_AMD - s-1vcpu-1gb-amd
- Droplet
S1VCPU1GB_INTEL - s-1vcpu-1gb-intel
- Droplet
S1VCPU2GB - s-1vcpu-2gb
- Droplet
S1VCPU2GB_AMD - s-1vcpu-2gb-amd
- Droplet
S1VCPU2GB_INTEL - s-1vcpu-2gb-intel
- Droplet
S2VCPU2GB - s-2vcpu-2gb
- Droplet
S2VCPU2GB_AMD - s-2vcpu-2gb-amd
- Droplet
S2VCPU2GB_INTEL - s-2vcpu-2gb-intel
- Droplet
S2VCPU4GB - s-2vcpu-4gb
- Droplet
S2VCPU4GB_AMD - s-2vcpu-4gb-amd
- Droplet
S2VCPU4GB_INTEL - s-2vcpu-4gb-intel
- Droplet
S4VCPU8GB - s-4vcpu-8gb
- Droplet
S4VCPU8GB_AMD - s-4vcpu-8gb-amd
- Droplet
S4VCPU8GB_INTEL - s-4vcpu-8gb-intel
- Droplet
S8VCPU16GB_AMD - s-8vcpu-16gb-amd
- Droplet
S8VCPU16GB_INTEL - s-8vcpu-16gb-intel
- Droplet
C2 - c-2
- Droplet
C22VCPU4GB - c2-2vcpu-4gb
- Droplet
C22VCPU8GB - c2-4vcpu-8gb
- Droplet
C28VCPU16GB - c2-8vcpu-16gb
- Droplet
C216VCPU32GB - c2-16vcpu-32gb
- Droplet
C232VCPU64GB - c2-32vcpu-64gb
- Droplet
C4 - c-4
- Droplet
C8 - c-8
- Droplet
C16 - c-16
- Droplet
C32 - c-32
- Droplet
G2VCPU8GB - g-2vcpu-8gb
- Droplet
G4VCPU16GB - g-4vcpu-16gb
- Droplet
G8VCPU32GB - g-8vcpu-32gb
- Droplet
G16VCPU64GB - g-16vcpu-64gb
- Droplet
G32VCPU128GB - g-32vcpu-128gb
- Droplet
G40VCPU160GB - g-40vcpu-160gb
- Droplet
GD2VCPU8GB - gd-2vcpu-8gb
- Droplet
GD4VCPU16GB - gd-4vcpu-16gb
- Droplet
GD8VCPU32GB - gd-8vcpu-32gb
- Droplet
GD16VCPU64GB - gd-16vcpu-64gb
- Droplet
GD32VCPU128GB - gd-32vcpu-128gb
- Droplet
GD40VCPU160GB - gd-40vcpu-160gb
- Droplet
S8VCPU16GB - s-8vcpu-16gb
- Droplet
M2VCPU16GB - m-2vcpu-16gb
- Droplet
M4VCPU32GB - m-4vcpu-32gb
- Droplet
M8VCPU64GB - m-8vcpu-64gb
- Droplet
M16VCPU128GB - m-16vcpu-128gb
- Droplet
M24VCPU192GB - m-24vcpu-192gb
- Droplet
M32VCPU256GB - m-32vcpu-256gb
- Droplet
M32VCPU16GB - m3-2vcpu-16gb
- Droplet
M34VCPU32GB - m3-4vcpu-32gb
- Droplet
M38VCPU64GB - m3-8vcpu-64gb
- Droplet
M316VCPU128GB - m3-16vcpu-128gb
- Droplet
M324VCPU192GB - m3-24vcpu-192gb
- Droplet
M332VCPU256GB - m3-32vcpu-256gb
- Droplet
M62VCPU16GB - m6-2vcpu-16gb
- Droplet
M64VCPU32GB - m6-4vcpu-32gb
- Droplet
M68VCPU64GB - m6-8vcpu-64gb
- Droplet
M616VCPU128GB - m6-16vcpu-128gb
- Droplet
M624VCPU192GB - m6-24vcpu-192gb
- Droplet
M632VCPU256GB - m6-32vcpu-256gb
- Droplet
SO2VCPU16GB - so-2vcpu-16gb
- Droplet
SO4VCPU32GB - so-4vcpu-32gb
- Droplet
SO8VCPU64GB - so-8vcpu-64gb
- Droplet
SO16VCPU128GB - so-16vcpu-128gb
- Droplet
SO24VCPU192GB - so-24vcpu-192gb
- Droplet
SO32VCPU256GB - so-32vcpu-256gb
- Droplet
SO152VCPU16GB - so1_5-2vcpu-16gb
- Droplet
SO154VCPU32GB - so1_5-4vcpu-32gb
- Droplet
SO158VCPU64GB - so1_5-8vcpu-64gb
- Droplet
SO1516VCPU128GB - so1_5-16vcpu-128gb
- Droplet
SO1524VCPU192GB - so1_5-24vcpu-192gb
- Droplet
SO1532VCPU256GB - so1_5-32vcpu-256gb
- Droplet512mb
- 512mb
- Droplet1GB
- 1gb
- Droplet2GB
- 2gb
- Droplet4GB
- 4gb
- Droplet8GB
- 8gb
- Droplet16GB
- 16gb
- Droplet32GB
- 32gb
- Droplet48GB
- 48gb
- Droplet64GB
- 64gb
- Droplet
S1VCPU3GB - s-1vcpu-3gb
- Droplet
S3VCPU1GB - s-3vcpu-1gb
- Droplet
S6VCPU16GB - s-6vcpu-16gb
- Droplet
S8VCPU32GB - s-8vcpu-32gb
- Droplet
S12VCPU48GB - s-12vcpu-48gb
- Droplet
S16VCPU64GB - s-16vcpu-64gb
- Droplet
S20VCPU96GB - s-20vcpu-96gb
- Droplet
S24VCPU128GB - s-24vcpu-128gb
- Droplet
S32VCPU192GB - 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
- Region
NYC1 - nyc1
- Region
NYC2 - nyc2
- Region
NYC3 - nyc3
- Region
SGP1 - sgp1
- Region
LON1 - lon1
- Region
AMS2 - ams2
- Region
AMS3 - ams3
- Region
FRA1 - fra1
- Region
TOR1 - tor1
- Region
SFO1 - sfo1
- Region
SFO2 - sfo2
- Region
SFO3 - sfo3
- Region
BLR1 - blr1
- Region
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
- "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.