Merge pull request #2313 from martinivanov/master

Replace key_path with private_key and file() interpolation in consul GCE terraform deployment.
This commit is contained in:
James Phillips 2016-09-01 21:54:44 -07:00 committed by GitHub
commit ed3b258d9c
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ resource "google_compute_instance" "consul" {
}
connection {
user = "${lookup(var.user, var.platform)}"
key_path = "${var.key_path}"
user = "${lookup(var.user, var.platform)}"
private_key = "${file("${var.key_path}")}"
}
provisioner "file" {