step-security/Setup TFLint

Sets up tflint CLI in your GitHub Actions workflow

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tflint_versionTFLint version to installnolatest
github_tokenGitHub token - used when getting the latest version of tflintno${{ github.server_url == 'https://github.com' && github.token || '' }}
tflint_wrapperInstalls a wrapper script to wrap subsequent calls to `tflint` and expose `stdout`, `stderr`, and `exitcode` outputsnofalse
checksumsNewline-delimited list of valid checksums (SHA256 hashes) for the downloaded TFLint binary. When set, the action will verify that the binary matches one of these checksums before proceeding.no
cacheEnable caching of TFLint pluginsnofalse
tflint_config_pathGlob pattern for TFLint config files used to generate cache keyno.tflint.hcl
plugin_dirDirectory where TFLint plugins are installed. Can also be set via TFLINT_PLUGIN_DIR environment variable.no~/.tflint.d/plugins
namedescription
tflint-versionThe installed version of TFLint
cache-hitA boolean value to indicate a cache entry was found
stdoutThe output (stdout) produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
stderrThe error output (stderr) produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.
exitcodeThe exit code produced by the tflint command. Only available if `tflint_wrapper` is set to `true`.