temporily removed the lb output

This commit is contained in:
Karim Naufal 2022-02-17 15:50:45 +01:00
parent 9c3e3034f7
commit edfbd5a15d
3 changed files with 6 additions and 1 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@
crash.log crash.log
kubeconfig.yaml kubeconfig.yaml
kubeconfig.yaml-e kubeconfig.yaml-e
terraform.tfvars terraform.tfvars
plans.yaml

View File

@ -153,8 +153,10 @@ resource "hcloud_placement_group" "k3s" {
} }
} }
/*
data "hcloud_load_balancer" "traefik" { data "hcloud_load_balancer" "traefik" {
name = "traefik" name = "traefik"
depends_on = [hcloud_server.agents[0]] depends_on = [hcloud_server.agents[0]]
} }
*/

View File

@ -8,10 +8,12 @@ output "agents_public_ip" {
description = "The public IP addresses of the agent server." description = "The public IP addresses of the agent server."
} }
/*
output "load_balancer_public_ip" { output "load_balancer_public_ip" {
description = "The public IPv4 address of the Hetzner load balancer" description = "The public IPv4 address of the Hetzner load balancer"
value = data.hcloud_load_balancer.traefik.ipv4 value = data.hcloud_load_balancer.traefik.ipv4
} }
*/
output "kubeconfig_file" { output "kubeconfig_file" {
value = local.kubeconfig_external value = local.kubeconfig_external