| directory | One or more directories separated by space in which to run the checks | yes | — |
| terraform_version | Terraform version to run the check against. Set to 'system' to use the system terraform. | — | latest |
| terraform_binary | Terraform binary to use. Defaults to 'terraform'. Can be set to 'tofu' to use opentofu. | — | terraform |
| plan_args | Optional: Additional arguments to pass to terraform plan. This should be passed as json array. | — | — |
| post_comment | Post check result to PR comment if set as true. Set to 'update' to update the existing comment on subsequent runs, after posting the initial comment. | — | — |
| hide_refresh | Hide state refresh output from report | — | — |
| github_token | Github token to post PR comment | — | — |
| issue_number | Post comment to a specific issue or PR instead of the current one | — | — |