mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 10:31:22 -04:00
21 lines
334 B
HCL
21 lines
334 B
HCL
|
|
variable "target_ami" {
|
||
|
|
description = "The AMI to search for"
|
||
|
|
type = string
|
||
|
|
default = "ami-12345"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "sensitive_foo" {
|
||
|
|
description = "a"
|
||
|
|
type = string
|
||
|
|
sensitive = true
|
||
|
|
}
|
||
|
|
|
||
|
|
list "test_instance" "example" {
|
||
|
|
provider = test
|
||
|
|
|
||
|
|
config {
|
||
|
|
ami = var.target_ami
|
||
|
|
foo = var.sensitive_foo
|
||
|
|
}
|
||
|
|
}
|