Fixed syntax

This commit is contained in:
2023-11-04 16:33:09 +01:00
parent 2867d56369
commit ca7a90b1ad
3 changed files with 18 additions and 12 deletions
+9 -6
View File
@@ -8,8 +8,9 @@ resource "null_resource" "install_setup" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "file" {
@@ -57,8 +58,9 @@ resource "null_resource" "install_argocd_single" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "remote-exec" {
@@ -84,8 +86,9 @@ resource "null_resource" "install_argocd_ha" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v helm`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "file" {
@@ -131,8 +131,9 @@ resource "null_resource" "setup_tokens" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "file" {
@@ -172,8 +173,9 @@ resource "null_resource" "join_nodes" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "file" {
+3 -2
View File
@@ -102,8 +102,9 @@ resource "null_resource" "join_workers" {
}
provisioner "remote-exec" {
interpreter = ["bash", "-c"]
command = "while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
inline = [
"while (test -z `command -v microk8s`); do echo \"Waiting for cloud init to finish...\";sleep 5;done"
]
}
provisioner "file" {