{"repo":"hashicorp/terraform-exec","free":true,"listed":false,"github":"https://github.com/hashicorp/terraform-exec","clone":"git clone https://github.com/hashicorp/terraform-exec.git","description":"Terraform CLI commands via Go.","language":"Go","stars":787,"topics":["terraform","terraform-sdk","go"],"license":"MPL-2.0","category":"deployment-docker-iac","readme_excerpt":"terraform-exec A Go module for constructing and running Terraform CLI commands. Structured return values use the data types defined in terraform-json. The Terraform Plugin Framework is the canonical Go interface (SDK) for Terraform plugins using the gRPC protocol. This library is intended for use in Go programs that make use of Terraform's other interface, the CLI. Importing this library is preferable to importing github.com/hashicorp/terraform/command , because the latter is not intended for use outside Terraform Core. While terraform-exec is already widely used, please note that this module is not yet at v1.0.0 , and that therefore breaking changes may occur in minor releases. We strictly follow semantic versioning. Go compatibility This library is built in Go, and uses the support policy of Go as its support policy. The two latest major releases of Go are supported by terraform-exec. Currently, that means Go 1.24 or later must be used. Terraform compatibility We generally follow Terraform's own compatibility promises. i.e. we recommend Terraform v1.x to be used alongside this library . Given the nature of this library being used in automation, we maintain compatibility on best effort basis with latest minor versions from 0.12 and later. This does not imply coverage of all features or CLI surface, just that it shouldn't break in unexpected ways. Usage The Terraform struct must be initialised with NewTerraform(workingDir, execPath) . Top-level Terraform commands each have th","default_branch":null,"files":null,"tree":[],"storefront":"/r/hashicorp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hashicorp/terraform-exec/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}