The following TF doesn't parse correctly: ``` foo = "true" ? "correct" : "wrong" ``` I would expect it to return: ``` {'foo': ['"true" ? "correct" : "wrong"']} ``` but instead this is returned: ``` {'foo': ['true" ? "correct" : "wrong']} ``` Note that the leading quote on "true" and the trailing quote on "wrong" have been dropped.
Activity
kkozik-amplify commentedon Apr 7, 2026
Fixed in the latest release:
https://github.com/amplify-education/python-hcl2/releases/tag/v8.1.0