Inflowing Variable Validations¶
Inflowing variables supply values for the execution of an ingredient variation.
When a variation is declared as an ingredient, users can specify required and optional inflowing variables to feed ingredient processing. Then, when users create ingredient nodes in their own recipes to call that ingredient, they can keep or replace the default inflowing variable values.
Access inflowing variables¶
You can set inflowing variables in the Configuration tab of an ingredient node's Node Editor.
See Configure Ingredient Nodes for more information.
Validations on user-entered values¶
The inflowing variable types supported in ingredient variations are alphanumeric, Boolean, file path, hostname, numeric, password, port, region, text, and username.
Compiled values selected from the variables or secrets drop-down lists are not validated.
| Variable type | Value requirements | Length |
|---|---|---|
| AWSRegion | Select from drop-down list. | — |
| AzureRegion | Select from drop-down list. | — |
| alphanumeric | String of upper/lower-case letters, numbers, underscore ( _ ), hyphen ( - ). | — |
| Boolean | Checkbox checked or clear. | — |
| file path | String of upper/lower-case letters, numbers, underscore ( _ ), hyphen ( - ), forward slash ( / ), full stop ( . ). | — |
| hostname | String of upper/lower-case letters, numbers, underscore ( _ ), hyphen ( - ), full stop ( . ), forward slash ( / ), colon ( : ). | 80 chars max |
| JSON | Valid JSON entered into the code field. | — |
| numeric | Numbers, optionally preceded by plus (+) or minus (-). | — |
| password | String with no whitespace characters. | — |
| port | Numbers. Mininum value of 1 and maximum value of 65535. | — |
| text | No validation. | — |
| username | String of upper/lower-case letters, numbers, underscore ( _ ), hyphen ( - ), full stop ( . ), at sign ( @ ). | 256 chars max |