mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-19 01:00:39 -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
|
|
}
|