diff --git a/terraform/aws/consul.tf b/terraform/aws/consul.tf index 3deeb4f51c..4b2481cc77 100644 --- a/terraform/aws/consul.tf +++ b/terraform/aws/consul.tf @@ -1,5 +1,5 @@ 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}" key_name = "${var.key_name}" count = "${var.servers}"