Skip to content

API Reference

The public package exports:

from libterraform import AsyncTerraformCommand, TerraformCommand, TerraformConfig

Exception classes are available from libterraform.exceptions.

Pages

  • TerraformCommand covers command execution, CommandResult, option conversion, JSON parsing, and Terraform CLI helper methods.
  • AsyncTerraformCommand covers asyncio-compatible command execution for asyncio applications.
  • TerraformConfig covers Terraform configuration parsing.
  • Exceptions covers package exception types.

The reference pages are generated from the Python source and docstrings with mkdocstrings.