variable "image" {} variable "region" {} variable "size" { default = "8gb" } variable "ssh_keys" {} variable "statsite" {} resource "digitalocean_droplet" "server" { image = "${var.image}" name = "nomad-server-${var.region}-${count.index}" count = 3 size = "${var.size}" region = "${var.region}" ssh_keys = ["${split(",", var.ssh_keys)}"] provisioner "remote-exec" { inline = < /usr/local/etc/nomad/server.hcl <