Resources Reference for the DigitalOcean Terraform Provider

Terraform resources represent infrastructure objects such as Droplets, block storage volumes, and databases.

The following resources are available using the DigitalOcean Terraform provider:

Provides a DigitalOcean App resource.
Provides a DigitalOcean CDN Endpoint resource for use with Spaces.
Provides a DigitalOcean Certificate resource that allows you to manage certificates for configuring TLS termination in Load Balancers. Certificates created with this resource can be referenced in your Load Balancer configuration via their ID. The certificate can either be a custom one provided by you or automatically generated one with Let’s Encrypt.
Provides a DigitalOcean Container Registry resource. A Container Registry is a secure, private location to store your containers for rapid deployment.
Get Docker credentials for your DigitalOcean container registry.
Provides a resource which can be used to create a custom image from a URL. The URL must point to an image in one of the following file formats:
Provides a DigitalOcean database cluster resource.
Provides a DigitalOcean database connection pool resource.
Provides a DigitalOcean database resource. When creating a new database cluster, a default database with name defaultdb will be created. Then, this resource can be used to provide additional database inside the cluster.
Provides a DigitalOcean database firewall resource allowing you to restrict connections to your database to trusted sources. You may limit connections to specific Droplets, Kubernetes clusters, or IP addresses.
Provides a DigitalOcean Kafka topic for Kafka clusters.
Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed MySQL database cluster.
Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed PostgreSQL database cluster.
Provides a virtual resource that can be used to change advanced configuration options for a DigitalOcean managed Redis database cluster.
Provides a DigitalOcean database replica resource.
Provides a DigitalOcean database user resource. When creating a new database cluster, a default admin user with name doadmin will be created. Then, this resource can be used to provide additional normal users inside the cluster.
Provides a DigitalOcean domain resource.
Provides a DigitalOcean Droplet resource. This can be used to create, modify, and delete Droplets. Droplets also support provisioning.
Provides a resource which can be used to create a snapshot from an existing DigitalOcean Droplet.
Provides a DigitalOcean Cloud Firewall resource. This can be used to create, modify, and delete Firewalls.
~> Deprecated: DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use digitalocean_reserved_ip instead.
~> Deprecated: DigitalOcean Floating IPs have been renamed reserved IPs. This resource will be removed in a future release. Please use digitalocean_reserved_ip_assignment instead.
Provides a DigitalOcean Kubernetes cluster resource. This can be used to create, delete, and modify clusters. For more information see the official documentation.
Provides a DigitalOcean Kubernetes node pool resource. While the default node pool must be defined in the digitalocean_kubernetes_cluster resource, this resource can be used to add additional ones to a cluster.
Provides a DigitalOcean Load Balancer resource. This can be used to create, modify, and delete Load Balancers.
Provides a DigitalOcean Monitoring resource. Monitor alerts can be configured to alert about, e.g., disk or memory usage exceeding a certain threshold or traffic at a certain limit. Notifications can be sent to either an email address or a Slack channel.
Provides a DigitalOcean Project resource.
Assign resources to a DigitalOcean Project. This is useful if you need to assign resources managed in Terraform to a DigitalOcean Project managed outside of Terraform.
Provides a DigitalOcean DNS record resource.
Provides a DigitalOcean reserved IP to represent a publicly-accessible static IP addresses that can be mapped to one of your Droplets.
Provides a resource for assigning an existing DigitalOcean reserved IP to a Droplet. This makes it easy to provision reserved IP addresses that are not tied to the lifecycle of your Droplet.
Provides a bucket resource for Spaces, DigitalOcean’s object storage product.
Provides a bucket object resource for Spaces, DigitalOcean’s object storage product. The digitalocean_spaces_bucket_object resource allows Terraform to upload content to Spaces.
Provides a bucket policy resource for Spaces, DigitalOcean’s object storage product. The digitalocean_spaces_bucket_policy resource allows Terraform to attach bucket policy to Spaces.
Provides a CORS configuration resource for Spaces, DigitalOcean’s object storage product. The digitalocean_spaces_bucket_cors_configuration resource allows Terraform to to attach CORS configuration to Spaces.
Provides a DigitalOcean SSH key resource to allow you to manage SSH keys for Droplet access. Keys created with this resource can be referenced in your Droplet configuration via their ID or fingerprint.
Provides a DigitalOcean Tag resource. A Tag is a label that can be applied to a Droplet resource in order to better organize or facilitate the lookups and actions on it. Tags created with this resource can be referenced in your Droplet configuration via their ID or name.
Provides a DigitalOcean Uptime Alerts resource. Uptime Alerts provide the ability to add alerts to your DigitalOcean Uptime Checks when your endpoints are slow, unavailable, or SSL certificates are expiring.
Provides a DigitalOcean Uptime Checks resource. Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they’re slow, unavailable, or SSL certificates are expiring.
Provides a DigitalOcean Block Storage volume which can be attached to a Droplet in order to provide expanded storage.
Manages attaching a Volume to a Droplet.
Provides a DigitalOcean Volume Snapshot which can be used to create a snapshot from an existing volume.
Provides a DigitalOcean VPC resource.