Skip to content

Commit caa028a

Browse files
authored
Merge pull request #100 from pluralsh/fix-controller-pool-priv-key
use file function for connection private key
2 parents 30007a0 + d2cb804 commit caa028a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/controller_pool/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ resource "null_resource" "key_wait_transfer" {
9797
type = "ssh"
9898
user = "root"
9999
host = metal_device.k8s_controller_standby[count.index].access_public_ipv4
100-
private_key = var.ssh_private_key_path
100+
private_key = file(var.ssh_private_key_path)
101101
password = metal_device.k8s_controller_standby[count.index].root_password
102102
}
103103

0 commit comments

Comments
 (0)