We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 535fee5 + 2f6886b commit 28cb1acCopy full SHA for 28cb1ac
main.tf
@@ -290,8 +290,7 @@ resource "null_resource" "get_kubeconfig" {
290
IP="${local.ssh_ip}"
291
SSH_USER="${local.ssh_user}"
292
293
- sudo chmod +x "${abspath(path.module)}/get_kubeconfig.sh"
294
- sudo "${abspath(path.module)}/get_kubeconfig.sh" "$FILE" "$REMOTE_PATH" "$IP" "$SSH_USER"
+ "${abspath(path.module)}/get_kubeconfig.sh" "$FILE" "$REMOTE_PATH" "$IP" "$SSH_USER"
295
EOT
296
}
297
0 commit comments