terramate-io / terramate

Terramate CLI is an open-source Infrastructure as Code (IaC) Orchestration and Code Generation tool for Terraform, OpenTofu and Terragrunt.
https://terramate.io
Mozilla Public License 2.0
3.12k stars 86 forks source link

[FEATURE] provide a helper function to load simple HCL files like .tfvars #1724

Open g13013 opened 1 month ago

g13013 commented 1 month ago

Is your feature request related to a problem? Please describe. Like yamldecode and jsondecode, it would be really useful to have a function hcldecode that allows you to read HCL files like .tfvars.hcl.

mariux commented 1 day ago

Thx for reporting it, we have it in our backlog already and will prioritize it accordingly.