Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 31 Mar 02:18
· 51 commits to main since this release

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() and TerraformCommand.init().
  • Added support for the main workflow commands: validate, plan, show, apply, and destroy.
  • Added the CommandResult return object with retcode, value, json, and error fields.
  • 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