towardsthecloud/Terraform Plan PR Commenter
Post the output of `terraform plan` to a Pull Request comment.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| planfile | The path to the Terraform plan file to post as comment in the Pull Request. | yes | — |
| terraform-cmd | The command to execute for calling the Terraform binary. | — | terraform |
| working-directory | The directory where the Terraform binary should be called. | — | . |
| token | The GitHub or PAT token to use for posting comments to Pull Requests. | — | ${{ github.token }} |
| header | Set a custom header to use for the Pull Request comment. | — | — |
| aws-region | The AWS region where the infrastructure changes are being applied e.g. us-east-1. | — | — |
Outputs
| name | description |
|---|---|
| markdown | The raw markdown output of the `terraform plan` command |
| empty | Whether the `terraform plan` command contains any change or not |