mirror of https://github.com/hashicorp/consul
commit
9380a75acd
|
@ -1,5 +1,5 @@
|
||||||
resource "aws_instance" "server" {
|
resource "aws_instance" "server" {
|
||||||
ami = "${lookup(var.ami, concat(var.region, "-", var.platform))}"
|
ami = "${lookup(var.ami, "${var.region}-${var.platform}")}"
|
||||||
instance_type = "${var.instance_type}"
|
instance_type = "${var.instance_type}"
|
||||||
key_name = "${var.key_name}"
|
key_name = "${var.key_name}"
|
||||||
count = "${var.servers}"
|
count = "${var.servers}"
|
||||||
|
|
Loading…
Reference in New Issue