Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SOLAR_FIELDS
on Jan 23, 2024
|
parent
|
context
|
favorite
| on:
Why are we templating YAML? (2019)
I was just telling a colleague today that HCL is great until you need to do a loop. A lot of parallels to this YAML discussion
quchen
on Jan 23, 2024
[–]
My favorite pattern in HCL is the if-loop. Since there is no »only do this resource if P« in Terraform, the solution is »run this loop not at all or once«.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: