sergeykuzmich
12/18/2018 - 10:15 AM

Terraform definition of DigitalOcean Droplet

Terraform definition of DigitalOcean Droplet

resource "digitalocean_droplet" "default" {
  # Droplet Name
  name = "lemp-server"

  # Droplet Type
  #  One-click application: wordpress, lemp  stack, etc.
  #    - or -
  #  Clean distribuion: ubuntu, cent os, etc.
  image = "lemp-16-04"

  # Droplet Region and Size
  region = "nyc1"
  size   = "512mb"
}