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.

25 lines
572 B

  1. // The cluster name
  2. output "name" {
  3. value = "${var.name}"
  4. }
  5. // The list of cluster instance IDs
  6. output "instances" {
  7. value = ["${digitalocean_droplet.cluster.*.id}"]
  8. }
  9. // The list of cluster instance private IPs
  10. output "private_ips" {
  11. value = ["${digitalocean_droplet.cluster.*.ipv4_address_private}"]
  12. }
  13. // The list of cluster instance public IPs
  14. output "public_ips" {
  15. value = ["${digitalocean_droplet.cluster.*.ipv4_address}"]
  16. }
  17. #// The list of cluster floating IPs
  18. #output "floating_ips" {
  19. # value = ["${digitalocean_floating_ip.cluster.*.ip_address}"]
  20. #}