You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
611 B

# `floyd` is the Nomad Serve which also runs Consul, Vault.
resource "digitalocean_droplet" "floyd" {
image = "ubuntu-20-04-x64"
name = "floyd"
region = "blr1"
monitoring = true
size = "s-1vcpu-2gb"
ipv6 = true
private_networking = true
tags = [
"nomad",
"control-plane"
]
ssh_keys = [digitalocean_ssh_key.mrkaran.fingerprint]
}
# Attach the floating ip to droplet
resource "digitalocean_floating_ip" "floyd" {
droplet_id = digitalocean_droplet.floyd.id
region = digitalocean_droplet.floyd.region
}