subhamay-bhattacharyya-gha/Terraform Lint with TFLint
A composite GitHub Action that installs and runs TFLint to detect issues in Terraform code.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tf-config-path | Relative path to the directory containing Terraform configuration files (e.g., 'tf', 'infrastructure'). Can be combined with cloud-provider for multi-cloud setups. | no | tf |
| cloud-provider | Cloud provider for multi-cloud setups (aws, gcp, azure). When specified, modifies terraform-dir to 'infra/<cloud-provider>/tf'. | no | "" |
| release-tag | Git release tag to check out. If omitted, the current branch or tag will be used. | no | "" |
| tflint-ver | TFLint version to install (e.g., v0.52.0). Pass organization variable TF_LINT_VER from calling workflow or falls back to v0.52.0. | no | v0.52.0 |
| use-cache | Enable caching for TFLint plugins ('true' or 'false'). | no | true |
| tflint-format | Output format for TFLint results (default, json, compact, checkstyle). | no | compact |
Outputs
no outputs