diff --git a/backend_modules/aws/host/main.tf b/backend_modules/aws/host/main.tf index 04a20d4c1..75bedcc6c 100644 --- a/backend_modules/aws/host/main.tf +++ b/backend_modules/aws/host/main.tf @@ -1,5 +1,10 @@ locals { - ami = lookup(lookup(var.base_configuration["ami_info"], var.image, {}), "ami", var.image) +# ami = lookup(lookup(var.base_configuration["ami_info"], var.image, {}), "ami", var.image) + ami = lookup( + lookup(var.base_configuration["ami_info"], var.image, { "ami" = var.image }), + "ami", + var.image + ) provider_settings = merge({ key_name = var.base_configuration["key_name"]