Martin Atkins

Results 1242 comments of Martin Atkins

Hi @dkumor! Thanks for reporting this. The `hclwrite` API is currently not complete, as you've seen. We do plan to complete it in the future, allowing the sort of surgical...

Thanks to hashicorp/hcl2#126, which we merged just before the v2.0.0 release, there are now methods to read the type and labels from a block. There is not yet a facility...

Hi @geneshipt, I'm afraid I'm not really following the chain of steps here to understand what you're trying to do and where it's going wrong. However, one thing I did...

Hi @m4dcoder! Thanks for working on this. It looks like a great start! I believe I was that one that left that TODO in previous work, and I think I...

Hi @m4dcoder! Sorry for not being clearer about what I meant with that last point. Let's consider the example input string `"hello\n world\n"`. I think your current implementation would generate...

Hi @m4dcoder! I understand that this is more work than you had anticipated doing here, and that is totally reasonable. I don't think we want to support multiple optional different...

Hi @zfLQ2qx2, It sounds like what you need to do here is some one-time edits, rather than something repeatable, in which case I would suggest first trying to see if...

Hi @jhriggs! Thanks for working on this. I'm more familiar with the v2 implementation of HCL than the v1 implementation, so I'm not sure I fully understand the implications of...

Hi @ranash-dome9, It seems like you are primarily interested in parsing Terraform configuration, in which case unfortunately my answer is that there isn't a very good analog to what you...

This seems like a nice idea to me! I originally wrote most of these things before I knew about go-cmp, or possibly before it existed... not sure. But I generally...