hcl
hcl copied to clipboard
HCL is the HashiCorp configuration language.
Hi, I'm working on updating the `golang-github-hashicorp-hcl-dev` package in Debian unstable (probably by introducing a new `golang-github-hashicorp-hcl-v2-dev` package that reverse-dependencies can switch to), and I'm facing the following test suite...
Reference: https://github.com/hashicorp/hcl/pull/340 Closes #680 Similar to `(*hclwrite.Block).SetType()`, this new method enables in-place renaming of an attribute.
## Description I am currently working on a proof of concept tool that could help practitioners migrate their Terraform HCL configurations from `null_resource` resource blocks to `terraform_data` resource blocks (as...
With the focus on functions in recent hcl releases, I thought it time to introduce the ability to inspect which functions are required to evaluate expressions. This mirrors the Variable...
First issue I encountered was: ``` unicode2ragel.rb:85:in `initialize': No such file or directory @ rb_sysopen - http://www.unicode.org/Public/9.0.0/ucd/DerivedCoreProperties.txt (Errno::ENOENT) from unicode2ragel.rb:85:in `open' from unicode2ragel.rb:85:in `each_alpha' from unicode2ragel.rb:292:in `generate_machine' from unicode2ragel.rb:334:in `block...
Hey, I am trying to parse terraform HCL into Golang struct and im facing issues when trying to parse an object inside a Module block. this it the example I...
For [couper](https://github.com/coupergateway/couper/) we use an hcl-based configuration language. The language defines some block types that have optional labels, e.g.: ```hcl api { } api "my_api" { } ``` are both...
Hi, I'm looking at https://github.com/hashicorp/hcl2/blob/master/ext/include/doc.go and I'm wondering where this is gone? It would be very convenient to have this in HCL. Is it coming back somehow in the future?...
I don't understand how I'm supposed to use the `block_attrs` spec, and there are no examples in the hcldec documentation. If I use the spec file here: ``` object {...
A common pattern that does not currently work for decoding hcl is: ```go type Base struct { Field string `hcl:"my_field"` } type Variant struct { Base Value int `hcl:"my_value"` }...