mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-24 18:19:33 +01:00
Fix DigitalOcean controller and worker ipv4/ipv6 outputs (#594)
* Fix controller and worker ipv4/ipv4 outputs to be lists of strings * With Terraform v0.11 syntax, an enclosing list was required to coerce the output to be a list of strings * With Terraform v0.12 syntax, the enclosing list shouldn't be needed
This commit is contained in:
parent
26674083b6
commit
aa275796cb
@ -12,19 +12,19 @@ output "workers_dns" {
|
||||
}
|
||||
|
||||
output "controllers_ipv4" {
|
||||
value = [digitalocean_droplet.controllers.*.ipv4_address]
|
||||
value = digitalocean_droplet.controllers.*.ipv4_address
|
||||
}
|
||||
|
||||
output "controllers_ipv6" {
|
||||
value = [digitalocean_droplet.controllers.*.ipv6_address]
|
||||
value = digitalocean_droplet.controllers.*.ipv6_address
|
||||
}
|
||||
|
||||
output "workers_ipv4" {
|
||||
value = [digitalocean_droplet.workers.*.ipv4_address]
|
||||
value = digitalocean_droplet.workers.*.ipv4_address
|
||||
}
|
||||
|
||||
output "workers_ipv6" {
|
||||
value = [digitalocean_droplet.workers.*.ipv6_address]
|
||||
value = digitalocean_droplet.workers.*.ipv6_address
|
||||
}
|
||||
|
||||
# Outputs for custom firewalls
|
||||
|
Loading…
Reference in New Issue
Block a user