diff --git a/control_planes.tf b/control_planes.tf index efcc38dc..a4055bdd 100644 --- a/control_planes.tf +++ b/control_planes.tf @@ -174,6 +174,9 @@ resource "null_resource" "control_planes" { provisioner "remote-exec" { inline = [ "systemctl start k3s 2> /dev/null", + # prepare the needed directories + "mkdir -p /var/post_install /var/user_kustomize", + # wait for the server to be ready <<-EOT timeout 360 bash < /dev/null; do