Cheatsheet: YAML
Basic syntax
Scalars: Scalars are simple values such as strings, numbers, and booleans.
Lists: Lists are sequences of scalars or other lists, represented by a dash - followed by a space and the value.
Maps (or dictionaries): Maps are collections of key-value pairs, represented by a colon : and an indented value.
Strings: Strings can be defined with double quotes " or single quotes '. Multi-line strings can be defined with the > or | indicator.
Comments: Comments start with the # symbol and continue to the end of the line.
Anchors and Aliases: Anchors allow you to reuse parts of the configuration, and Aliases allow you to refer to these reusable parts.