This allows the user to call .disable_variable_expansion() on the validator object, to check the value of a property without referring to any of the variables
resource "foo" "bar" {
bizz = ${var.buzz}
}
var "buzz" {
default = "1"
}
Before: terraform_config thinks that bizz = 1
After (default): terraform_config thinks that bizz = 1
After (with .disable_variable_expansion): terraform_config thinks that bizz = "${var.buzz}"}
This allows the user to call .disable_variable_expansion() on the validator object, to check the value of a property without referring to any of the variables