mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-15 13:00:17 -04:00
Passing a sensitive value as a module input variable should preserve its sensitivity for the plan.
14 lines
191 B
HCL
14 lines
191 B
HCL
terraform {
|
|
experiments = [sensitive_variables]
|
|
}
|
|
|
|
variable "sensitive_var" {
|
|
default = "foo"
|
|
sensitive = true
|
|
}
|
|
|
|
module "child" {
|
|
source = "./child"
|
|
foo = var.sensitive_var
|
|
}
|