Terraform

Features

Terraform is a powerful open-source tool that allows you to build, version, and automate the deployment of cloud infrastructure. You can use Terraform to set up simple or complex architectures for your web applications in your DigitalOcean account with a few commands on the command line. This gives you the benefit of increased efficiency when setting up and scaling your web application's infrastructure.

Getting Started

Install Terraform and configure it to deploy DigitalOcean resources.
Deploy three Droplets, a database, and a load balancer into a VPC network using Terraform and this interactive tutorial.
Find the full DigitalOcean Terraform reference documentation on HashiCorp's website.

Resources

Latest Updates

13 October 2020

  • v1.23.0 of the DigitalOcean Terraform Provider is now available. This release introduces a new digitalocean_app resource with support for DigitalOcean App Platform.

22 July 2020

  • v1.22.0 of the DigitalOcean Terraform Provider is now available. This release includes auto_upgrade and surge_upgrade support for the digitalocean_kubernetes_cluster resource.

20 July 2020

  • v1.21.0 of the DigitalOcean Terraform Provider is now available. This release includes the addition of https to the list of acceptable healthcheck protocols for the digitalocean_loadbalancer resource.

15 June 2020

  • v1.20.0 of the DigitalOcean Terraform Provider is now available. This release includes the addition of a digitalocean_tags data source and improvements to other tag-related resources.

For more information, see the full release notes.