mirror of https://github.com/hashicorp/consul
commit
bdcc8c44f5
|
@ -7,7 +7,7 @@ resource "aws_instance" "server" {
|
|||
|
||||
connection {
|
||||
user = "${lookup(var.user, var.platform)}"
|
||||
key_file = "${var.key_path}"
|
||||
private_key = "${file("${var.key_path}")}"
|
||||
}
|
||||
|
||||
#Instance tags
|
||||
|
|
Loading…
Reference in New Issue