ukhomeoffice/TFLint Scan
Run TFLint security and linting checks on Terraform/Terragrunt code
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working_directory | Directory to run TFLint in (relative to repository root) | no | . |
| tflint_version | TFLint version to install (e.g., v0.54.0) | no | v0.54.0 |
| tflint_recursive | Run TFLint recursively on subdirectories | no | true |
| custom_config_path | Path to custom .tflint.hcl file (relative to repo root). Leave empty to use default config. | no | "" |
| fail_on_error | Fail the action if TFLint finds issues | no | true |
| aws_plugin_version | TFLint AWS plugin version | no | 0.40.0 |
| terraform_plugin_preset | Terraform plugin preset (recommended, all) | no | recommended |
| output_format | TFLint output format (default, compact, json, checkstyle, junit, sarif) | no | compact |
| checkout | Whether to checkout the repository (set to false if already checked out) | no | false |
Outputs
| name | description |
|---|---|
| tflint_exit_code | Exit code from TFLint execution (0 = success, >0 = issues found) |
| tflint_result | Result of TFLint scan (success or failure) |