Re:GitHub launches Actions, its workflow automation tool
by skybrian on Tuesday October 16, 2018 @07:55PM
(#18234332)
Based on the README, hcl looks like a small and fairly sane extension to JSON. What do you dislike about it?
[ Parent
| on HN ]
Re:GitHub launches Actions, its workflow automation tool
by scrollaway on Tuesday October 16, 2018 @08:26PM
(#18234504)
Here's an example of a nested function call from one of my infrastructure files:
public_key = "${file("${path.root}/../ssh/id_rsa.pub")}"
Is this terraform's implementation, or hcl's? HCL has to implement that syntax somehow, right?
Re:GitHub launches Actions, its workflow automation tool
by skybrian on Tuesday October 16, 2018 @09:06PM
(#18234697)
It looks like they have an "interpolation syntax" that works with either JSON or hcl. I guess that's a separate but related mini-language?
https://www.terraform.io/docs/configuration/interpolation.ht...
Re:GitHub launches Actions, its workflow automation tool
by scrollaway on Tuesday October 16, 2018 @09:09PM
(#18234715)
Hmmmm, does that make it pre-processing on hcl? If so I guess that makes a little more sense.