mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 02:20:07 -04:00
This new field will be consumed in order to redact sensitive values referenced in a list block's input configuration from the query logs. We simply pipe the config schema and the marked values, and include the paths in the query_start log output.
20 lines
334 B
HCL
20 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
|
|
}
|
|
}
|