{"id":28560647,"url":"https://github.com/tofuutils/tofulint","last_synced_at":"2026-01-31T05:02:36.265Z","repository":{"id":237902468,"uuid":"795459337","full_name":"tofuutils/tofulint","owner":"tofuutils","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-14T09:42:10.000Z","size":9612,"stargazers_count":10,"open_issues_count":16,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-06-10T09:53:22.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tofuutils.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-03T10:26:30.000Z","updated_at":"2025-05-16T20:47:33.000Z","dependencies_parsed_at":"2024-05-06T16:23:30.151Z","dependency_job_id":null,"html_url":"https://github.com/tofuutils/tofulint","commit_stats":null,"previous_names":["tofuutils/tofulint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tofuutils/tofulint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tofuutils%2Ftofulint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tofuutils%2Ftofulint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tofuutils%2Ftofulint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tofuutils%2Ftofulint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tofuutils","download_url":"https://codeload.github.com/tofuutils/tofulint/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tofuutils%2Ftofulint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T09:37:28.493Z","updated_at":"2026-01-31T05:02:36.249Z","avatar_url":"https://github.com/tofuutils.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# TFLint\n[![Build Status](https://github.com/terraform-linters/tflint/workflows/build/badge.svg?branch=master)](https://github.com/terraform-linters/tflint/actions)\n[![GitHub release](https://img.shields.io/github/release/terraform-linters/tflint.svg)](https://github.com/terraform-linters/tflint/releases/latest)\n[![Terraform Compatibility](https://img.shields.io/badge/terraform-%3E%3D%201.0-blue)](docs/user-guide/compatibility.md)\n[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-blue.svg)](LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/terraform-linters/tflint)](https://goreportcard.com/report/github.com/terraform-linters/tflint)\n[![Homebrew](https://img.shields.io/badge/dynamic/json.svg?url=https://formulae.brew.sh/api/formula/tflint.json\u0026query=$.versions.stable\u0026label=homebrew)](https://formulae.brew.sh/formula/tflint)\n\nA Pluggable [Terraform](https://www.terraform.io/) Linter\n\n## Features\n\nTFLint is a framework and each feature is provided by plugins, the key features are as follows:\n\n- Find possible errors (like invalid instance types) for Major Cloud providers (AWS/Azure/GCP).\n- Warn about deprecated syntax, unused declarations.\n- Enforce best practices, naming conventions.\n\n## Installation\n\nBash script (Linux):\n\n```console\ncurl -s https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash\n```\n\nHomebrew (macOS):\n\n```console\nbrew install tflint\n```\n\nChocolatey (Windows):\n\n```cmd\nchoco install tflint\n```\n\nNOTE: The Chocolatey package is NOT directly maintained by the TFLint maintainers. The latest version is always available by manual installation.\n\n### Verification\n\nReleases are signed by [Cosign](https://github.com/sigstore/cosign). `cosign verify-blob` ensures that the release was built with this repository's GitHub Actions.\n\n```\ncosign verify-blob --certificate=checksums.txt.pem --signature=checksums.txt.keyless.sig --certificate-identity-regexp=\"^https://github.com/terraform-linters/tflint\" --certificate-oidc-issuer=https://token.actions.githubusercontent.com checksums.txt\nsha256sum --ignore-missing -c checksums.txt\n```\n\n### Docker\n\nInstead of installing directly, you can use the Docker image:\n\n```console\ndocker run --rm -v $(pwd):/data -t ghcr.io/terraform-linters/tflint\n```\n\n### GitHub Actions\n\nIf you want to run on GitHub Actions, [setup-tflint](https://github.com/terraform-linters/setup-tflint) action is available.\n\n## Getting Started\n\nFirst, enable rules for [Terraform Language](https://www.terraform.io/language) (e.g. warn about deprecated syntax, unused declarations). [TFLint Ruleset for Terraform Language](https://github.com/terraform-linters/tflint-ruleset-terraform) is bundled with TFLint, so you can use it without installing it separately.\n\nThe bundled plugin enables the \"recommended\" preset by default, but you can disable the plugin or use a different preset. Declare the plugin block in `.tflint.hcl` like this:\n\n```hcl\nplugin \"terraform\" {\n  enabled = true\n  preset  = \"recommended\"\n}\n```\n\nSee the [tflint-ruleset-terraform documentation](https://github.com/terraform-linters/tflint-ruleset-terraform/blob/main/docs/configuration.md) for more information.\n\nNext, If you are using an AWS/Azure/GCP provider, it is a good idea to install the plugin and try it according to each usage:\n\n- [Amazon Web Services](https://github.com/terraform-linters/tflint-ruleset-aws)\n- [Microsoft Azure](https://github.com/terraform-linters/tflint-ruleset-azurerm)\n- [Google Cloud Platform](https://github.com/terraform-linters/tflint-ruleset-google)\n\nIf you want to extend TFLint with other plugins, you can declare the plugins in the config file and easily install them with `tflint --init`.\n\n```hcl\nplugin \"foo\" {\n  enabled = true\n  version = \"0.1.0\"\n  source  = \"github.com/org/tflint-ruleset-foo\"\n\n  signing_key = \u003c\u003c-KEY\n  -----BEGIN PGP PUBLIC KEY BLOCK-----\n\n  mQINBFzpPOMBEADOat4P4z0jvXaYdhfy+UcGivb2XYgGSPQycTgeW1YuGLYdfrwz\n  9okJj9pMMWgt/HpW8WrJOLv7fGecFT3eIVGDOzyT8j2GIRJdXjv8ZbZIn1Q+1V72\n  AkqlyThflWOZf8GFrOw+UAR1OASzR00EDxC9BqWtW5YZYfwFUQnmhxU+9Cd92e6i\n  ...\n  KEY\n}\n```\n\nSee also [Configuring Plugins](docs/user-guide/plugins.md).\n\nIf you want to add custom rules that are not in existing plugins, you can build your own plugin or write your own policy in Rego. See [Writing Plugins](docs/developer-guide/plugins.md) or [OPA Ruleset](https://github.com/terraform-linters/tflint-ruleset-opa).\n\n## Usage\n\nTFLint inspects files under the current directory by default. You can change the behavior with the following options/arguments:\n\n```\n$ tflint --help\nUsage:\n  tflint --chdir=DIR/--recursive [OPTIONS]\n\nApplication Options:\n  -v, --version                                                 Print TFLint version\n      --init                                                    Install plugins\n      --langserver                                              Start language server\n  -f, --format=[default|json|checkstyle|junit|compact|sarif]    Output format\n  -c, --config=FILE                                             Config file name (default: .tflint.hcl)\n      --ignore-module=SOURCE                                    Ignore module sources\n      --enable-rule=RULE_NAME                                   Enable rules from the command line\n      --disable-rule=RULE_NAME                                  Disable rules from the command line\n      --only=RULE_NAME                                          Enable only this rule, disabling all other defaults. Can be specified multiple times\n      --enable-plugin=PLUGIN_NAME                               Enable plugins from the command line\n      --var-file=FILE                                           Terraform variable file name\n      --var='foo=bar'                                           Set a Terraform variable\n      --call-module-type=[all|local|none]                       Types of module to call (default: local)\n      --chdir=DIR                                               Switch to a different working directory before executing the command\n      --recursive                                               Run command in each directory recursively\n      --filter=FILE                                             Filter issues by file names or globs\n      --force                                                   Return zero exit status even if issues found\n      --minimum-failure-severity=[error|warning|notice]         Sets minimum severity level for exiting with a non-zero error code\n      --color                                                   Enable colorized output\n      --no-color                                                Disable colorized output\n      --fix                                                     Fix issues automatically\n      --no-parallel-runners                                     Disable per-runner parallelism\n\nHelp Options:\n  -h, --help                                                    Show this help message\n```\n\nSee [User Guide](docs/user-guide) for details.\n\n## Debugging\n\nIf you don't get the expected behavior, you can see the detailed logs when running with `TFLINT_LOG` environment variable.\n\n```console\n$ TFLINT_LOG=debug tflint\n```\n\n## Developing\n\nSee [Developer Guide](docs/developer-guide).\n\n## Security\n\nIf you find a security vulnerability, please refer our [security policy](SECURITY.md).\n\n## Stargazers over time\n\n[![Stargazers over time](https://starchart.cc/terraform-linters/tflint.svg)](https://starchart.cc/terraform-linters/tflint)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftofuutils%2Ftofulint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftofuutils%2Ftofulint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftofuutils%2Ftofulint/lists"}