github.com/iaas-resource-provision/iaas-rpc@v1.0.7-0.20211021023331-ed21f798c408/internal/terraform/testdata/validate-variable-custom-validations-child/child/child.tf (about)

     1  variable "test" {
     2    type = string
     3  
     4    validation {
     5      condition     = var.test != "nope"
     6      error_message = "Value must not be \"nope\"."
     7    }
     8  }