-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the mapping from HCL -> JSON to the README? #10
Comments
that's why I built |
I don't really use go for anything, and don't really have the time to do it. pyhcl comes with a similar script called 'hcltool' which does exactly this, however. I imagine they will typically have the same output -- but in the cases they don't,it's probably because HCL is still murkily specified. |
Would it be useful to have a test suite that allows us to verify the resultant documents are identical at the CLI level? That'll probably be too large to fit into the readme. |
There sorta already is such a test suite, but I think the key thing missing is a clearer formal specification of the mapping. |
+1 for this. The tool is useful, but documentation would help to supplement this. It would still be useful to have a few examples in the docs for how to convert between them, so that at a glance you can see how the mapping works. |
Yes, please.. |
I will rebase this if someone is able to merge it in? |
The mapping from HCL to JSON (and vice versa) isn't immediately clear. I haven't been able to find concrete documentation for this yet. The fixtures help, but there seems to be a mix of valid/invalid examples.
The text was updated successfully, but these errors were encountered: