Merge pull request #16 from dhoppe/add_output
Add public IPv4 address of Traefik to output
This commit is contained in:
commit
6708ecb733
4
data.tf
4
data.tf
@ -1,3 +1,7 @@
|
|||||||
|
data "hcloud_load_balancer" "lb11" {
|
||||||
|
name = "traefik"
|
||||||
|
}
|
||||||
|
|
||||||
data "github_release" "hetzner_ccm" {
|
data "github_release" "hetzner_ccm" {
|
||||||
repository = "hcloud-cloud-controller-manager"
|
repository = "hcloud-cloud-controller-manager"
|
||||||
owner = "hetznercloud"
|
owner = "hetznercloud"
|
||||||
|
@ -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