Merge pull request #9296 from chaseadamsio/update-digitalOceanExample

updates digitalocean example main.tf to correct syntax for private_key & file function
This commit is contained in:
James Nugent 2016-10-10 20:22:10 -04:00 committed by GitHub
commit 4e5a5c7b55
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"
}