Skip to content

Commit

Permalink
Merge pull request #100 from pluralsh/fix-controller-pool-priv-key
Browse files Browse the repository at this point in the history
use file function for connection private key
  • Loading branch information
displague authored Jan 12, 2022
2 parents 30007a0 + d2cb804 commit caa028a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/controller_pool/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ resource "null_resource" "key_wait_transfer" {
type = "ssh"
user = "root"
host = metal_device.k8s_controller_standby[count.index].access_public_ipv4
private_key = var.ssh_private_key_path
private_key = file(var.ssh_private_key_path)
password = metal_device.k8s_controller_standby[count.index].root_password
}

Expand Down

0 comments on commit caa028a

Please sign in to comment.