mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-23 06:02:05 -04:00
It is possible, say with multiple layers of sensitive variables, to "double-mark" a variable. Add a check to ensure this does not happen.
15 lines
212 B
HCL
15 lines
212 B
HCL
variable "sensitive_var" {
|
|
default = "foo"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "another_var" {
|
|
sensitive = true
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
foo = var.sensitive_var
|
|
bar = var.another_var
|
|
}
|