blob: cc12bfad467da66f10dd58951d883a28153a31fb [file]
variable "target_ami" {
description = "The AMI to search for"
type = string
default = "ami-12345"
}
variable "instance_name" {
description = "The instance name to search for"
type = string
}
list "test_instance" "example" {
provider = test
config {
ami = var.target_ami
foo = var.instance_name
}
}