github.com/darmach/terratest@v0.34.8-0.20210517103231-80931f95e3ff/test/fixtures/terraform-null/main.tf (about)

     1  variable "foo" {
     2    type = object({
     3      nullable_string    = string
     4      nonnullable_string = string
     5    })
     6  }
     7  
     8  output "foo" {
     9    value = var.foo
    10  }
    11  
    12  output "bar" {
    13    value = var.foo.nullable_string == null ? "I AM NULL" : null
    14  }