rancherlabs / terraform-harvester-equinix

Apache License 2.0
12 stars 10 forks source link

Create output for host ip addresses #4

Closed dnoland1 closed 1 year ago

dnoland1 commented 1 year ago

If you want to SSH to any of the hosts, you need to look up the IP addresses in the Equinix console. Would be nice to have the host IPs as outputs.

For example, something like this (need to test):

output "seed_ip" {
  value = equinix_metal_device.seed.0.access_public_ipv4
}
output "join_ips" {
  value = equinix_metal_device.join.*.access_public_ipv4
}