Home
Softono
b

beelit94

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
1

Software by beelit94

python-terraform
Open Source

python-terraform

python-terraform is a Python wrapper module for the HashiCorp Terraform command-line tool, enabling programmatic interaction with Terraform from Python applications. It allows users to execute any Terraform command by calling corresponding methods on a Terraform instance, with return values containing the return code, stdout, and stderr. Key features include a 1-to-1 mapping between Terraform CLI commands and Python methods, support for passing arguments and options directly through method calls, automatic conversion of command-line options from dash format to underscore format for Python compatibility, and support for boolean flags, repeatable flags, and variable definitions via Python data structures like lists and dictionaries. By default, stdout and stderr are captured and returned for parsing, but real-time output streaming is available through the captureoutput option. The module also handles reserved Python keywords by appending cmd to method names, such as importcmd for the terraform import command. T

JavaScript Libraries & Components Infrastructure as Code
485 Github Stars