diff --git a/.gitignore b/.gitignore index 3ec4b3d..1202e92 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ crash.log kubeconfig.yaml kubeconfig.yaml-e -terraform.tfvars \ No newline at end of file +terraform.tfvars +plans.yaml \ No newline at end of file diff --git a/main.tf b/main.tf index 230d9d5..3650304 100644 --- a/main.tf +++ b/main.tf @@ -153,8 +153,10 @@ resource "hcloud_placement_group" "k3s" { } } +/* data "hcloud_load_balancer" "traefik" { name = "traefik" depends_on = [hcloud_server.agents[0]] } +*/ diff --git a/output.tf b/output.tf index 310a0dd..330d587 100644 --- a/output.tf +++ b/output.tf @@ -8,10 +8,12 @@ output "agents_public_ip" { description = "The public IP addresses of the agent server." } +/* output "load_balancer_public_ip" { description = "The public IPv4 address of the Hetzner load balancer" value = data.hcloud_load_balancer.traefik.ipv4 } +*/ output "kubeconfig_file" { value = local.kubeconfig_external