Skip to content

Commit

Permalink
fix kubepassword export folder
Browse files Browse the repository at this point in the history
  • Loading branch information
saintdle authored Jun 20, 2024
1 parent 2ca53a9 commit 2c6df5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ resource "null_resource" "get_kubeconfig" {
provisioner "local-exec" {
command = <<EOT
[[ -d ${path.root}/auth ]] || mkdir -p ${path.root}/auth
/usr/bin/scp -r -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${module.sshkey.ssh_private_key_file} root@${module.bastion.lb_ip}:/tmp/artifacts/install/auth/ ${path.root}/auth/
/usr/bin/scp -r -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${module.sshkey.ssh_private_key_file} root@${module.bastion.lb_ip}:/tmp/artifacts/install/auth/* ${path.root}/auth/
EOT
interpreter = [ "/bin/bash", "-c" ]
}
Expand Down

0 comments on commit 2c6df5f

Please sign in to comment.