tmccombs/hcl2json
View on GitHub ↗ ★ 480 Go
Convert hcl2 to json
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2025-06-20 · latest 2026-03-31
20082026
-
I'm sure the UX would suck, but you could use hcl2json[0] and then transform that to YAML. [0]: https://github.com/tmccombs/hcl2json
comment by RulerOf · 2026-03-31 · in Cherri – programming language that compiles to an Apple Shortuct -
…wisdom didn't ship any rendering binary so some kind soul had to glue one to the official sdk https://github.com/tmccombs/hcl2json/blob/v0.6.7/go.mod#L8 I hear you about JSON might not be a goal, but I can tell you that Terraform accepts…
comment by mdaniel · 2025-06-20 · in What would a Kubernetes 2.0 look like -
…you are secretly supporting my argument of "who can possibly decipher this insanity?!" because https://github.com/tmccombs/hcl2json believes that it is valid $ hcl2json <<FOO | jq -r '"has \(length) keys"' outer { example { foo = "bar" }…
comment by mdaniel · 2025-06-20 · in What would a Kubernetes 2.0 look like