mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
key_file is deprecated. Switching to private_key using the file() interpolation function.
This commit is contained in:
parent
75256a158b
commit
d8a2c79f3b
@ -7,7 +7,7 @@ resource "aws_instance" "server" {
|
|||||||
|
|
||||||
connection {
|
connection {
|
||||||
user = "${lookup(var.user, var.platform)}"
|
user = "${lookup(var.user, var.platform)}"
|
||||||
key_file = "${var.key_path}"
|
private_key = "${file("${var.key_path}")}"
|
||||||
}
|
}
|
||||||
|
|
||||||
#Instance tags
|
#Instance tags
|
||||||
|
Loading…
x
Reference in New Issue
Block a user