Add volume for Syncthing droplet
This commit is contained in:
parent
f6ce08450a
commit
2b8042d6b8
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user