terraform/internal/command/testdata/query/with-sensitive-variables/query.tfquery.hcl
Sebastian Rivera 305dba5dcc feat: denote sensitive attribute paths in query start msg
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.
2026-02-27 11:01:23 +01:00

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
}
}