github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-variable-sensitivity-module/main.tf (about)

     1  variable "sensitive_var" {
     2    default   = "foo"
     3    sensitive = true
     4  }
     5  
     6  variable "another_var" {
     7    sensitive = true
     8  }
     9  
    10  module "child" {
    11    source = "./child"
    12    foo    = var.sensitive_var
    13    bar    = var.another_var
    14  }