Difference between revisions of "Terraform resource: digitalocean droplet"

From wikieduonline
Jump to navigation Jump to search
(Created page with " # Create a new Web Droplet in the nyc2 region resource "digitalocean_droplet" "web" { image = "ubuntu-20-04-x64" name = "web-1" region = "nyc2" size...")
 
(No difference)

Revision as of 07:07, 20 December 2024

# Create a new Web Droplet in the nyc2 region
resource "digitalocean_droplet" "web" {
  image   = "ubuntu-20-04-x64"
  name    = "web-1"
  region  = "nyc2"
  size    = "s-1vcpu-1gb"
  backups = true
  backup_policy {
    plan    = "weekly"
    weekday = "TUE"
    hour    = 8
  }
}



Terraform DigitalOcean

Advertising: