terraform/helper/validation
Brian Flad 46804080aa
helper/validation: Add Any() SchemaValidateFunc
`Any()` allows any single passing validation of multiple `SchemaValidateFunc` to pass validation to cover cases where a standard validation function does not cover the functionality or to make error messaging simpler.

Example provider usage:

```go
ValidateFunc: validation.Any(
  validation.IntAtLeast(42),
  validation.IntAtMost(5),
),
```
2018-10-18 20:58:53 -04:00
..
validation.go helper/validation: Add Any() SchemaValidateFunc 2018-10-18 20:58:53 -04:00
validation_test.go helper/validation: Add Any() SchemaValidateFunc 2018-10-18 20:58:53 -04:00