Files
opentf/terraform/testdata/plan-variable-sensitivity-module/main.tf
Pam Selle 12b5d437da Avoid double-marking variables
It is possible, say with multiple layers of
sensitive variables, to "double-mark" a variable.
Add a check to ensure this does not happen.
2020-12-04 13:10:02 -05:00

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
}