garvitbanga/Terraform Plan Visualizer
Visualize Terraform plans with Mermaid diagrams and change summaries in PR comments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Directory containing Terraform files | no | . |
| terraform-version | Terraform version to use | no | 1.7.5 |
| plan-args | Additional arguments for terraform plan | no | -no-color -out=plan.out |
| var-file | Comma-separated list of var files to use | no | — |
| infracost-enabled | Enable Infracost cost analysis | no | false |
| policy-enabled | Enable policy checks (Checkov/Conftest) | no | false |
| max-destroy | Maximum number of resources that can be destroyed (0 = no limit) | no | 0 |
| max-replace | Maximum number of resources that can be replaced (0 = no limit) | no | 0 |
Outputs
| name | description |
|---|---|
| comment-url | URL of the posted PR comment |
| create-count | Number of resources to be created |
| update-count | Number of resources to be updated |
| replace-count | Number of resources to be replaced |
| destroy-count | Number of resources to be destroyed |
| has-risk | Whether the plan contains risky changes (replace/destroy > thresholds) |