github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/validate-sensitive-provisioner-config/main.tf (about)

     1  variable "secret" {
     2    type      = string
     3    default   = " password123"
     4    sensitive = true
     5  }
     6  
     7  resource "aws_instance" "foo" {
     8    provisioner "test" {
     9      test_string = var.secret
    10    }
    11  }