mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
Replace key_path with private_key and file() interpolation.
This commit is contained in:
parent
53149bd2f9
commit
d9e9c7161b
@ -24,8 +24,8 @@ resource "google_compute_instance" "consul" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
connection {
|
connection {
|
||||||
user = "${lookup(var.user, var.platform)}"
|
user = "${lookup(var.user, var.platform)}"
|
||||||
key_path = "${var.key_path}"
|
private_key = "${file("${var.key_path}")}"
|
||||||
}
|
}
|
||||||
|
|
||||||
provisioner "file" {
|
provisioner "file" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user