reviewdog/Run terraform validate with reviewdog
TODO: 🐶 Run terraform validate with reviewdog on pull requests to improve code review experience.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | GITHUB_TOKEN | — | ${{ github.token }} |
| workdir | Working directory relative to the root directory. | — | . |
| terraform_cloud_token | The terraform token for authentication with private registries. | — | "" |
| level | Report level for reviewdog [info,warning,error] | — | error |
| reporter | Reporter of reviewdog command [github-pr-check,github-pr-review]. | — | github-pr-check |
| filter_mode | Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added. | — | added |
| fail_level | If set to `none`, always use exit code 0 for reviewdog. Otherwise, exit code 1 for reviewdog if it finds at least 1 issue with severity greater than or equal to the given level. Possible values: [none,any,info,warning,error] Default is `none`. | — | none |
| fail_on_error | Deprecated, use `fail_level` instead. Exit code for reviewdog when errors are found [true,false] Default is `false`. | — | false |
| name | Tool name shown in review comment for reviewdog. Also acts as an identifier for determining which comments reviewdog should overwrite. Useful in monorepos with multiple root modules where terraform validate needs to run multiple times. | — | terraform validate |
| reviewdog_flags | Additional reviewdog flags | — | "" |
| terraform_version | The terraform version to install and use. | — | 1.9.3 |
| cli | Execution tool name. e.g.) "terraform", "opentofu" | — | terraform |
Outputs
no outputs