mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 19:26:51 +02:00
change: Provide output about loadbalancer
This commit is contained in:
@@ -20,4 +20,11 @@ output "worker_node_details" {
|
|||||||
ipv6 = instance.ipv6_address
|
ipv6 = instance.ipv6_address
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
output "loadbalancer_details" {
|
||||||
|
value = {
|
||||||
|
ipv4 = hcloud_load_balancer.docker.ipv4
|
||||||
|
ipv6 = hcloud_load_balancer.docker.ipv6
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -13,4 +13,8 @@ output "swarm_nodes" {
|
|||||||
|
|
||||||
output "swarm_worker_nodes" {
|
output "swarm_worker_nodes" {
|
||||||
value = module.test_swarm_cluster.worker_node_details
|
value = module.test_swarm_cluster.worker_node_details
|
||||||
|
}
|
||||||
|
|
||||||
|
output "swarm_loadbalancer" {
|
||||||
|
value = module.test_swarm_cluster.loadbalancer_details
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user