github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/command/testdata/test/missing-provider/main.tftest.hcl (about)

     1  
     2  provider "test" {}
     3  
     4  run "passes_validation" {
     5    assert {
     6      condition = test_resource.primary.value == "foo"
     7      error_message = "primary contains invalid value"
     8    }
     9  
    10    assert {
    11      condition = test_resource.secondary.value == "bar"
    12      error_message = "secondary contains invalid value"
    13    }
    14  }