consul/terraform/digitalocean/outputs.tf

8 lines
185 B
HCL

output "first_consul_node_address" {
value = "${digitalocean_droplet.consul.0.ipv4_address}"
}
output "all_addresses" {
value = ["${digitalocean_droplet.consul.*.ipv4_address}"]
}