sedatk 18 hours ago

I didn't know about HCL. It looks great too.

antonymoose 18 hours ago

Working with Terraform, and needing to handle the complexity of our per-client deployments at work, I ended up creating a bash layer that takes N number of JSON files, performs a deep merge, and spits out a .tfvars file.

As you’ve said, all I did was fork a JSON.stringify function and swap colon for equals.

Anyone have a better solution they’ve worked with?

Edit: Why the downvotes? Terraform is using HCL? Are we talking a different HCL here?