Closed vascoalramos closed 1 year ago
If it's helpful, I am interested in working on this issue and submitting a pull request with the fix
Seems like the issue with handling null on hcl2json has been resolved and we need to update our dependency version. We'd be happy to review if you'd like to submit a PR.
Yes, for sure. I'll submit a PR
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Expected Behavior
It should prase just fine
Actual Behavior
It is giving the following error
Steps to Reproduce
npm i @cdktf/hcl2json
Run the following code:
Versions
cdktf-cli: 0.16.1 node: v18.16.0 terraform: 1.4.6 arch: x64 os: darwin 22.5.0
Providers
No response
Gist
No response
Workarounds
The issue is linked to a dependency of yours (
tmccombs/hcl2json
, on version v0.3.2 - source code).The error comes from that dependency: https://github.com/tmccombs/hcl2json/issues/35 This error is fixed from version v0.3.4 onwards
Anything Else?
No response
References
No response
Help Wanted
Community Note