Python-hcl2

Latest version: v7.0.0

Safety actively analyzes 722460 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

7.0.0

Added

- `Limitations` section to README.md ([200](https://github.com/amplify-education/python-hcl2/pull/200))

Fixed

- Issue handling heredoc with delimiter within text itself ([194](https://github.com/amplify-education/python-hcl2/pull/194))
- Various issues with parsing object elements ([197](https://github.com/amplify-education/python-hcl2/pull/197))
- Dictionary -> hcl2 reconstruction of `null` values ([198](https://github.com/amplify-education/python-hcl2/pull/198))
- Inaccurate parsing of `null` values in some cases ([206](https://github.com/amplify-education/python-hcl2/pull/206))
- Missing parenthesis in arithemetic expressions ([194](https://github.com/amplify-education/python-hcl2/pull/199))
- Noticeable overhead when loading hcl2.reconstructor module ([202](https://github.com/amplify-education/python-hcl2/pull/202))
- Escaped string interpolation (e.g. `"$${aws:username}"`) parsing ([200](https://github.com/amplify-education/python-hcl2/pull/200))

Removed

- Support for parsing interpolations nested more than 2 times (known-issue) ([200](https://github.com/amplify-education/python-hcl2/pull/200))

6.1.1

Fixed

- `DictTransformer.to_tf_inline` - handle float type. ([188](https://github.com/amplify-education/python-hcl2/pull/188))

6.1.0

Fixed

- fix e-notation and negative numbers literals. ([182](https://github.com/amplify-education/python-hcl2/pull/182))
- fix parsing of `null`. ([184](https://github.com/amplify-education/python-hcl2/pull/184))
- DictTransformer - do not wrap type literals into `${` and `}`. ([186](https://github.com/amplify-education/python-hcl2/pull/186))

6.0.0

Added

- Support full reconstruction of HCL from Python structures. Thanks, weaversam8, Nfsaavedra ([177](https://github.com/amplify-education/python-hcl2/pull/177))

5.1.1

Added

- fix `tree-to-hcl2-reconstruction.md` URL in README.md ([175](https://github.com/amplify-education/python-hcl2/pull/175))

5.1.0

Added

- support python 3.13 ([170](https://github.com/amplify-education/python-hcl2/pull/170))
- add section about Tree->HCL2 reconstruction to the README.md ([174](https://github.com/amplify-education/python-hcl2/pull/174))

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.