From 47ac66f6755115c6659260152af2bee25a0da3d4 Mon Sep 17 00:00:00 2001 From: pauljrob Date: Mon, 28 Nov 2016 08:48:58 -0800 Subject: [PATCH] Fixed private_key param (#10383) --- examples/openstack-with-networking/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/openstack-with-networking/main.tf b/examples/openstack-with-networking/main.tf index d91bca0b9..25ddb6972 100644 --- a/examples/openstack-with-networking/main.tf +++ b/examples/openstack-with-networking/main.tf @@ -73,7 +73,7 @@ resource "openstack_compute_instance_v2" "terraform" { provisioner "remote-exec" { connection { user = "${var.ssh_user_name}" - key_file = "${var.ssh_key_file}" + private_key = "${file(var.ssh_key_file)}" } inline = [