You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A list of maps, such as the minimal test case below, should be parsed successfully, however an error occurs when attempting to parse such a structure with PyHCL.
sampleinput.tf:
resource = [{
foo = [{
bar = {}
}]
}]
Output (PyHCL 0.3.6): ValueError: Line 1, column 12: unexpected LEFTBRACE
This issue was reported and fixed for the golang parser last year. Test case assign_deep.hcl tests this structure, and for the golang parser this snippet is marked as valid. The same test case exists for PyHCL, however the same snippet is marked as invalid, meaning the test case appears to pass.
The text was updated successfully, but these errors were encountered:
A list of maps, such as the minimal test case below, should be parsed successfully, however an error occurs when attempting to parse such a structure with PyHCL.
sampleinput.tf:
Output (PyHCL 0.3.6):
ValueError: Line 1, column 12: unexpected LEFTBRACE
This issue was reported and fixed for the golang parser last year. Test case assign_deep.hcl tests this structure, and for the golang parser this snippet is marked as valid. The same test case exists for PyHCL, however the same snippet is marked as invalid, meaning the test case appears to pass.
The text was updated successfully, but these errors were encountered: