updates digitalocean example to correct private_key
This commit is contained in:
parent
c1a359c723
commit
ab7cc32fe1
|
@ -24,7 +24,7 @@ resource "digitalocean_droplet" "mywebserver" {
|
||||||
|
|
||||||
connection {
|
connection {
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
key_file = "file(${HOME}/.ssh/id_rsa)"
|
private_key = "${file("~/.ssh/id_rsa")}"
|
||||||
user = "root"
|
user = "root"
|
||||||
timeout = "2m"
|
timeout = "2m"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue