DEV Community

Discussion on: Painless YAML Templating

Collapse
 
pavelloz profile image
Paweł Kowalski • Edited

Most definietly one of the ugliest syntaxes ive ever seen (and ive used AWS nightmare with Attr:Join etc.).

I would go huge lenghts to not use it, including string concatenation in ejs or mustache ;)

PS. Since yaml is compatible with json, its very easy to just write your configs in json (or function that spits out json) and then at the end of it, just convert it to yaml, if the tool cannot understand json.