e33aa9dc2e
StringMatch returns a validation function that can be used to match a string against a regular expression. This can be used for simple substring validations or more complex validation scenarios. Optionally, an error message can be returned so that the user is returned a better error message other than that their field did not match a regular expression that they might not be able to understand. |
||
---|---|---|
.. | ||
acctest | ||
config | ||
copy | ||
didyoumean | ||
diff | ||
encryption | ||
experiment | ||
hashcode | ||
hilmapstructure | ||
logging | ||
mutexkv | ||
pathorcontents | ||
resource | ||
schema | ||
shadow | ||
signalwrapper | ||
slowmessage | ||
structure | ||
validation | ||
variables | ||
wrappedreadline | ||
wrappedstreams | ||
README.md |
README.md
Helper Libraries
This folder contains helper libraries for Terraform plugins. A running joke is that this is "Terraform standard library" for plugins. The goal of the packages in this directory are to provide high-level helpers to make it easier to implement the various aspects of writing a plugin for Terraform.