This Pull Request (PR) introduces the HCL data format to the Generator Config file. While YAML is currently the only format supported by the Generator Config, HCL is the native format for Terraform and may be preferred by some users.
To utilize this new feature, simply pass the string "hcl" or "tf" as the second argument to the config.ParseConfig function.
The HCL parser leverages the package "github.com/genelet/determined/dethcl", an enhanced version of the original "github.com/hashicorp/hcl/v2/gohcl".
This Pull Request (PR) introduces the HCL data format to the Generator Config file. While YAML is currently the only format supported by the Generator Config, HCL is the native format for Terraform and may be preferred by some users.
To utilize this new feature, simply pass the string "hcl" or "tf" as the second argument to the config.ParseConfig function.
The HCL parser leverages the package "github.com/genelet/determined/dethcl", an enhanced version of the original "github.com/hashicorp/hcl/v2/gohcl".