change: Provide output about loadbalancer

This commit is contained in:
2025-08-03 15:53:46 +02:00
parent abfd364f21
commit 9d2e0d186d
2 changed files with 12 additions and 1 deletions
+8 -1
View File
@@ -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
}
}
+4
View File
@@ -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
} }