mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-25 18:49:33 +01:00
efff7497eb
* Output the DNS FQDNs, IPv4 addresses, and IPv6 addresses
24 lines
527 B
HCL
24 lines
527 B
HCL
output "controllers_dns" {
|
|
value = "${digitalocean_record.controllers.0.fqdn}"
|
|
}
|
|
|
|
output "workers_dns" {
|
|
value = "${digitalocean_record.workers.0.fqdn}"
|
|
}
|
|
|
|
output "controllers_ipv4" {
|
|
value = ["${digitalocean_droplet.controllers.*.ipv4_address}"]
|
|
}
|
|
|
|
output "controllers_ipv6" {
|
|
value = ["${digitalocean_droplet.controllers.*.ipv6_address}"]
|
|
}
|
|
|
|
output "workers_ipv4" {
|
|
value = ["${digitalocean_droplet.workers.*.ipv4_address}"]
|
|
}
|
|
|
|
output "workers_ipv6" {
|
|
value = ["${digitalocean_droplet.workers.*.ipv6_address}"]
|
|
}
|