diff --git a/master.tf b/master.tf index b75b6c9..59c2d71 100644 --- a/master.tf +++ b/master.tf @@ -70,13 +70,13 @@ resource "hcloud_server" "first_control_plane" { # Upload kustomization.yaml, containing Hetzner CSI & CSM, as well as kured. provisioner "file" { content = local.post_install_kustomization - destination = "/tmp/kustomization.yaml" + destination = "/tmp/post_install/kustomization.yaml" } # Upload traefik config provisioner "file" { content = local.traefik_config - destination = "/tmp/traefik.yaml" + destination = "/tmp/post_install/traefik.yaml" } # Run the first control plane @@ -95,15 +95,24 @@ resource "hcloud_server" "first_control_plane" { echo "Initiating the cluster..." sleep 2 done + timeout 120 bash <