Add volume for Syncthing droplet

This commit is contained in:
Jeremy Dormitzer 2020-12-03 16:37:44 -05:00
parent f6ce08450a
commit 2b8042d6b8

View File

@ -5,9 +5,16 @@ provider "digitalocean" {
}
resource "digitalocean_droplet" "jdormit_syncthing" {
name = "jdormit-syncthing"
image = "53893572"
region = "nyc1"
size = "s-1vcpu-1gb"
backups = true
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
}