From edfbd5a15dbf3ff700de7013283b09467ba0bd73 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Thu, 17 Feb 2022 15:50:45 +0100 Subject: [PATCH] temporily removed the lb output --- .gitignore | 3 ++- main.tf | 2 ++ output.tf | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) 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