Add public IPv4 address of Traefik to output
This commit is contained in:
parent
5e9ddc16ff
commit
a4444ce233
3
data.tf
Normal file
3
data.tf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
data "hcloud_load_balancer" "lb11" {
|
||||||
|
name = "traefik"
|
||||||
|
}
|
@ -7,3 +7,8 @@ output "agents_public_ip" {
|
|||||||
value = hcloud_server.agents.*.ipv4_address
|
value = hcloud_server.agents.*.ipv4_address
|
||||||
description = "The public IP addresses of the agent server."
|
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"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user