Last active
April 29, 2018 06:17
-
-
Save ksanderer/30b6d0edd3518ea0a49088a795a5c9a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "digitalocean" { | |
token = "digitalocean token here" | |
} | |
resource "digitalocean_volume" "foo" { | |
region = "ams3" | |
name = "foo" | |
size = 1 | |
} | |
resource "digitalocean_droplet" "droplet1" { | |
count = 1 | |
name = "droplet1" | |
region = "ams3" | |
size = "s-1vcpu-1gb" | |
image = "docker" | |
volume_ids = ["${digitalocean_volume.foo.id}"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment