Add public IPv4 address of Traefik to output

This commit is contained in:
Dennis Hoppe
2022-01-13 14:56:27 +01:00
parent 5e9ddc16ff
commit a4444ce233
2 changed files with 8 additions and 0 deletions

View File

@@ -7,3 +7,8 @@ output "agents_public_ip" {
value = hcloud_server.agents.*.ipv4_address
description = "The public IP addresses of the agent server."
}
output "traefik_public_ip" {
value = data.hcloud_load_balancer.lb11.ipv4
description = "IPv4 Address of the Load Balancer"
}