provider "digitalocean" { token = var.do_token spaces_access_id = var.spaces_access_id spaces_secret_key = var.spaces_secret_key } resource "digitalocean_droplet" "jdormit_syncthing" { name = "jdormit-syncthing" image = "53893572" region = "nyc1" size = "s-1vcpu-1gb" backups = true volume_ids = [digitalocean_volume.syncthing_volume.id] } resource "digitalocean_volume" "syncthing_volume" { name = "volume-nyc1-01" region = "nyc1" size = 100 }