4 ms·
I was all ready to complain about HCL because of the horrible ergonomics of multiline strings, which would be a deal breaker as a default config format. I just
by moondev 1y ago
I was all ready to complain about HCL because of the horrible ergonomics of multiline strings, which would be a deal breaker as a default config format. I just looked though and it seems they now support it in a much cleaner fashion.
https://developer.hashicorp.com/terraform/language/expressions/strings#heredoc-strings https://developer.hashicorp.com/terraform/language/expressio...
This actually makes me want to give HCL another chance
- mdaniel 1y agoBe careful about linking to terraform docs for HCL, as it can be very easy to blur terraform's implementation of the behaviors from HCL itself https://github.com/hashicorp/hcl/blob/v2.23.0/hclsyntax/spec.md#template-expressions https://github.com/hashicorp/hcl/blob/v2.23.0/hclsyntax/spec... I believe is the actual language specification of heredocs