updates digitalocean example to correct private_key

This commit is contained in:
Chase Adams 2016-10-08 23:03:49 -07:00
parent c1a359c723
commit ab7cc32fe1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ resource "digitalocean_droplet" "mywebserver" {
connection {
type = "ssh"
key_file = "file(${HOME}/.ssh/id_rsa)"
private_key = "${file("~/.ssh/id_rsa")}"
user = "root"
timeout = "2m"
}