mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
16 lines
256 B
HCL
16 lines
256 B
HCL
|
|
// already defined in main.tf
|
||
|
|
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
|
||
|
|
}
|
||
|
|
}
|