github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/testdata/show-json-sensitive/main.tf (about)

     1  provider "test" {
     2    region = "somewhere"
     3  }
     4  
     5  variable "test_var" {
     6    default   = "bar"
     7    sensitive = true
     8  }
     9  
    10  resource "test_instance" "test" {
    11    // this variable is sensitive
    12    ami = var.test_var
    13    // the password attribute is sensitive in the showFixtureSensitiveProvider schema.
    14    password = "secret"
    15    count    = 3
    16  }
    17  
    18  output "test" {
    19    value     = var.test_var
    20    sensitive = true
    21  }