J.1 Example Template File
Basic guidelines to follow while working with YAML files:
- The file must be ended with .yaml extension.
- YAML must be case-sensitive and indentation-sensitive.
- YAML does not support the use of tabs. Instead of tabs, it uses spaces.
The values of the key:value can be broadly classified into the following
types:
Table J-1 key:value Types
Type | Description | Examples |
---|---|---|
string | A literal string. | “String param” |
number | An integer or float. | “2”; “0.2” |
comma_delimited_list | An array of literal strings that are separated by commas. The total number of strings should be one more than the total number of commas. | [“one”, “two”]; “one, two”;
Note: “one, two” returns [“one”, ” two”] |
json | A JSON-formatted map or list. | {“key”: “value”} |
boolean | Boolean type value, which can be equal “t”, “true”, “on”, “y”, “yes”, or “1” for true value and “f”, “false”, “off”, “n”, “no”, or “0” for false value. | “on”; “n” |