resource "aws_instance" "bastion_ad" { ami = "${lookup(var.amis-aws-windows2016base, var.aws_region)}" instance_type = "t2.micro" ... }