home-office-digital/TFLint Scan

Run TFLint security and linting checks on Terraform/Terragrunt code

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 18, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: home-office-digital/core-cloud-workflow-tflint-scan@268b840d0e48fa86be281a5727909655311f7af4 # 0.3.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
working_directoryDirectory to run TFLint in (relative to repository root)no.
tflint_versionTFLint version to install (e.g., v0.54.0)nov0.54.0
tflint_recursiveRun TFLint recursively on subdirectoriesnotrue
custom_config_pathPath to custom .tflint.hcl file (relative to repo root). Leave empty to use default config.no""
fail_on_errorFail the action if TFLint finds issuesnotrue
aws_plugin_versionTFLint AWS plugin versionno0.40.0
terraform_plugin_presetTerraform plugin preset (recommended, all)norecommended
output_formatTFLint output format (default, compact, json, checkstyle, junit, sarif)nocompact
checkoutWhether to checkout the repository (set to false if already checked out)nofalse
namedescription
tflint_exit_codeExit code from TFLint execution (0 = success, >0 = issues found)
tflint_resultResult of TFLint scan (success or failure)