v0.2.1
Highlights
libterraform 0.2.1 introduces TerraformCommand, a Python wrapper for running Terraform CLI commands through the embedded Terraform library.
What's Changed
- Added
TerraformCommand.version()andTerraformCommand.init(). - Added support for the main workflow commands:
validate,plan,show,apply, anddestroy. - Added the
CommandResultreturn object withretcode,value,json, anderrorfields. - Added
TerraformCommand.run()for arbitrary Terraform command execution. - Fixed Windows file-descriptor read/write hangs.
- Added Go setup to GitHub Actions and refreshed README badges/docs.
Compatibility
- Terraform: 1.1.7
- Python: 3.6+ (tested through Python 3.10)
Install
pip install "libterraform==0.2.1"Links
- PyPI: https://pypi.org/project/libterraform/0.2.1/
- Full changelog: v0.1.0...v0.2.1