variable "region" {}
variable "channel" {}
variable "virttype" {}

output "ami_id" {
    value = "${lookup(var.all_amis, format(\"%s-%s-%s\", var.channel, var.region, var.virttype))}"
}


variable "region" {}
variable "channel" {}
variable "virttype" {}

output "ami_id" {
    value = "${lookup(var.all_amis, format("%s-%s-%s", var.channel, var.region, var.virttype))}"
}


Fix quote syntax for terraform 0.7
Fix quote syntax for terraform 0.7

See https://github.com/hashicorp/terraform/pull/7201
terraform-community-modules/tf_aws_coreos_ami