mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-14 01:00:40 -04:00
This adds NoZeroValues, a small SchemaValidateFunc that checks that a defined value is not a zero value. It's useful for situations where you want to keep someone from explicitly entering a zero value (ie: literally "0", or an empty string) on a required field, and want to catch it in the validation stage, versus during apply using GetOk.