jedipunkz/Terraform Plan Parser
Parse Terraform plan diffs and output structured information
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| terraform-plan | Terraform plan output to parse | yes | — |
| ignore-resources | JSON array of resource types or specific resources to ignore (e.g. ["null_resource", "null_resource.main", "local_file"]) | no | [] |
Outputs
| name | description |
|---|---|
| diff-bool | Whether there are any diffs (true/false) |
| diff-resources | JSON array of Terraform resource addresses that have changes |
| diff-raw | Raw Terraform plan output as provided to the action |
| diff-count | Number of resources that have changes |
| diff-json | Complete parse result as JSON including all diff details and structured plan data |
| create-bool | Whether there are any resources to be created (true/false) |
| create-count | Number of resources to be created |
| create-resources | JSON array of resource addresses to be created |
| destroy-bool | Whether there are any resources to be destroyed (true/false) |
| destroy-count | Number of resources to be destroyed |
| destroy-resources | JSON array of resource addresses to be destroyed |
| update-bool | Whether there are any resources to be updated (true/false) |
| update-count | Number of resources to be updated |
| update-resources | JSON array of resource addresses to be updated |
| replace-bool | Whether there are any resources to be replaced (true/false) |
| replace-count | Number of resources to be replaced |
| replace-resources | JSON array of resource addresses to be replaced |