Skip to main content
Add one or more validation blocks within the variable block to specify custom conditions.

Initializer

Properties


ConditionRequired

  • Type: interface{}
This is a boolean expression that should return true if the intended assumption or guarantee is fulfilled or false if it does not.

ErrorMessageRequired

  • Type: *string
This contains the text that Terraform will include as part of error messages when it detects an unmet condition.