From ab7cc32fe11516ba60372340f91e0baab5b01f9c Mon Sep 17 00:00:00 2001 From: Chase Adams Date: Sat, 8 Oct 2016 23:03:49 -0700 Subject: [PATCH] updates digitalocean example to correct private_key --- examples/digitalocean/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/digitalocean/main.tf b/examples/digitalocean/main.tf index 5753295cd..3572ac06b 100644 --- a/examples/digitalocean/main.tf +++ b/examples/digitalocean/main.tf @@ -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" }