blob: a5cae272f91f539de3c275cc4d63b817fb2f0a8c [file] [edit]
variable "target_ami" {
description = "The AMI to search for"
type = string
}
variable "environment" {
description = "The environment tag"
type = string
default = "test"
}
variable "instance_count" {
description = "Number of instances to find"
type = number
default = 2
}
list "test_instance" "example" {
provider = test
config {
ami = var.target_ami
foo = var.environment
}
}