Value Validation
This, not that.
Last updated
This, not that.
Last updated
Copyright© 2023 CloudTruth
Nobody enjoys typos, especially ones that make their way into production and cause outages. With CloudTruth you can set a series of rules and typing on your parameters to ensure they meet a specific criteria, or syntax, that meet specific intended values.
Rules are set on the parameter itself within a selected project that provide validation of values across all of the parameters environments.
The following are the current rules you can set on your parameters.
Parameter Type | Allowed Rules |
---|---|
String | Minimum Length Maximum Length Regular Expression |
Integer | Minimum Maximum |
Bool | Boolean Types |
We provide a regular expression rule for strings to come up with whatever crafty regex you require.
The Type and Rules can be set during parameter creation or when editing a parameter.
When adding rules to an existing parameter, CloudTruth will check across all environments to make sure the existing values conform to the new rule(s). If any of the values do NOT conform to the proposed rule change, the app will display the what and how the rule conflicts. Those conflicts will have to be remediated prior to setting the rule.
The rule type and constraint settings are listed in the parameter's detail page for convenience.