A CLI and JavaScript API that parses Terraform plan stdout output and converts it to structured JSON.
Terraform Plan Parser is a Node.js tool that converts the stdout output from `terraform plan` commands into structured JSON. It solves the problem of programmatically analyzing Terraform infrastructure changes by providing a machine-readable format for automation and validation workflows.
DevOps engineers, infrastructure developers, and platform teams who use Terraform and need to automate change analysis, notifications, or pre-apply validations.
Developers choose this parser because it offers a stable, safe way to parse Terraform plan output (avoiding the unstable binary format) and provides both CLI and JavaScript APIs for seamless integration into existing DevOps pipelines.
Command line utility and JavaScript API for parsing stdout from "terraform plan" and converting it to JSON.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides both CLI and JavaScript API, allowing easy integration into scripts or applications, as demonstrated in the README with npm and yarn installation examples.
Parses the documented stdout output instead of the unstable binary format, ensuring reliability for automation pipelines, as highlighted in the project philosophy.
Extracts comprehensive change information including resource actions (create, destroy, etc.) and attribute diffs, enabling precise analysis for notifications or validations.
Transforms semi-structured logs into a consistent JSON schema with errors, changed resources, and data sources, facilitating programmatic access to planned changes.
Does not parse the binary file from `terraform plan -out`, which limits use in workflows that prefer or require that format for efficiency or advanced Terraform features.
Requires Node v8.9.0 or newer, necessitating environment upgrades or transpilation for teams on older versions, as noted in the README with a warning about syntax errors.
Relies on Terraform's textual stdout format, which could change in future releases, potentially breaking parsing without tool updates, despite claims of stability.