# Functions
All returns a SchemaValidateFunc which tests if the provided value passes all provided SchemaValidateFunc.
AllDiag returns a SchemaValidateDiagFunc which tests if the provided value passes all provided SchemaValidateDiagFunc.
Any returns a SchemaValidateFunc which tests if the provided value passes any of the provided SchemaValidateFunc.
AnyDiag returns a SchemaValidateDiagFunc which tests if the provided value passes any of the provided SchemaValidateDiagFunc.
FloatAtLeast returns a SchemaValidateFunc which tests if the provided value is of type float and is at least minVal (inclusive).
FloatAtMost returns a SchemaValidateFunc which tests if the provided value is of type float and is at most maxVal (inclusive).
FloatBetween returns a SchemaValidateFunc which tests if the provided value is of type float64 and is between minVal and maxVal (inclusive).
IntAtLeast returns a SchemaValidateFunc which tests if the provided value is of type int and is at least minVal (inclusive).
IntAtMost returns a SchemaValidateFunc which tests if the provided value is of type int and is at most maxVal (inclusive).
IntBetween returns a SchemaValidateFunc which tests if the provided value is of type int and is between minVal and maxVal (inclusive).
IntDivisibleBy returns a SchemaValidateFunc which tests if the provided value is of type int and is divisible by a given number.
IntInSlice returns a SchemaValidateFunc which tests if the provided value is of type int and matches the value of an element in the valid slice.
IntNotInSlice returns a SchemaValidateFunc which tests if the provided value is of type int and matches the value of an element in the valid slice.
IsCIDR is a SchemaValidateFunc which tests if the provided value is of type string and a valid CIDR.
IsCIDRNetwork returns a SchemaValidateFunc which tests if the provided value is of type string, is in valid Value network notation, and has significant bits between minVal and maxVal (inclusive).
IsDayOfTheWeek is a SchemaValidateFunc which tests if the provided value is of type string and a valid english day of the week.
IsIPAddress is a SchemaValidateFunc which tests if the provided value is of type string and is a single IP (v4 or v6).
IsIPv4Address is a SchemaValidateFunc which tests if the provided value is of type string and a valid IPv4 address.
IsIPv4Range is a SchemaValidateFunc which tests if the provided value is of type string, and in valid IP range.
IsIPv6Address is a SchemaValidateFunc which tests if the provided value is of type string and a valid IPv6 address.
IsMACAddress is a SchemaValidateFunc which tests if the provided value is of type string and a valid MAC address.
IsMonth is a SchemaValidateFunc which tests if the provided value is of type string and a valid english month.
IsPortNumber is a SchemaValidateFunc which tests if the provided value is of type string and a valid TCP Port Number.
IsPortNumberOrZero is a SchemaValidateFunc which tests if the provided value is of type string and a valid TCP Port Number or zero.
IsRFC3339Time is a SchemaValidateFunc which tests if the provided value is of type string and a valid RFC33349Time.
IsURLWithHTTPorHTTPS is a SchemaValidateFunc which tests if the provided value is of type string and a valid HTTP or HTTPS URL.
IsURLWithHTTPS is a SchemaValidateFunc which tests if the provided value is of type string and a valid HTTPS URL.
IsURLWithScheme is a SchemaValidateFunc which tests if the provided value is of type string and a valid URL with the provided schemas.
IsUUID is a ValidateFunc that ensures a string can be parsed as UUID.
ListOfUniqueStrings is a ValidateFunc that ensures a list has no duplicate items in it.
MapKeyLenBetween returns a SchemaValidateDiagFunc which tests if the provided value is of type map and the length of all keys are between minVal and maxVal (inclusive).
MapKeyMatch returns a SchemaValidateDiagFunc which tests if the provided value is of type map and all keys match a given regexp.
MapValueLenBetween returns a SchemaValidateDiagFunc which tests if the provided value is of type map and the length of all values are between minVal and maxVal (inclusive).
MapValueMatch returns a SchemaValidateDiagFunc which tests if the provided value is of type map and all values match a given regexp.
NoZeroValues is a SchemaValidateFunc which tests if the provided value is not a zero value.
PathMatches compares two Paths for equality.
PreferWriteOnlyAttribute is a ValidateRawResourceConfigFunc that returns a warning if the Terraform client supports write-only attributes and the old attribute is not null.
StringDoesNotContainAny returns a SchemaValidateFunc which validates that the provided value does not contain any of the specified Unicode code points in chars.
StringDoesNotMatch returns a SchemaValidateFunc which tests if the provided value does not match a given regexp.
StringInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and matches the value of an element in the valid slice will test with in lower case if ignoreCase is true.
StringIsBase64 is a ValidateFunc that ensures a string can be parsed as Base64.
StringIsEmpty is a ValidateFunc that ensures a string has no characters.
StringIsJSON is a SchemaValidateFunc which tests to make sure the supplied string is valid JSON.
StringIsNotEmpty is a ValidateFunc that ensures a string is not empty.
StringIsNotWhiteSpace is a ValidateFunc that ensures a string is not empty or consisting entirely of whitespace characters.
StringIsValidRegExp returns a SchemaValidateFunc which tests to make sure the supplied string is a valid regular expression.
StringIsWhiteSpace is a ValidateFunc that ensures a string is composed of entirely whitespace.
StringLenBetween returns a SchemaValidateFunc which tests if the provided value is of type string and has length between minVal and maxVal (inclusive).
StringMatch returns a SchemaValidateFunc which tests if the provided value matches a given regexp.
StringNotInSlice returns a SchemaValidateFunc which tests if the provided value is of type string and does not match the value of any element in the invalid slice will test with in lower case if ignoreCase is true.
ToDiagFunc is a wrapper for legacy schema.SchemaValidateFunc converting it to schema.SchemaValidateDiagFunc.