bugfix: remove hardcoding

This commit is contained in:
Dave Horton
2020-05-15 13:16:45 -04:00
parent e30021c233
commit 8b7ed3d9ea

View File

@@ -48,7 +48,7 @@ resource "null_resource" "seed" {
connection {
type = "ssh"
user = "admin"
private_key = file("~/aws/aws-dhorton-paris.pem")
private_key = file("${var.ssh_key_path}")
host = element(aws_eip.jambonz-sbc-sip-rtp.*.public_ip, 0)
}