{"id":27881820,"url":"https://github.com/src-d/lookout-terraform-analyzer","last_synced_at":"2025-05-05T05:05:29.834Z","repository":{"id":57505335,"uuid":"151108295","full_name":"src-d/lookout-terraform-analyzer","owner":"src-d","description":"This is a lookout analyzer that checks if your PR has been Terraform fmt'ed when submitting it.","archived":false,"fork":false,"pushed_at":"2019-08-06T09:15:03.000Z","size":4240,"stargazers_count":5,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T05:05:22.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/src-d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-01T15:06:02.000Z","updated_at":"2019-08-06T06:16:18.000Z","dependencies_parsed_at":"2022-08-22T08:50:54.868Z","dependency_job_id":null,"html_url":"https://github.com/src-d/lookout-terraform-analyzer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Flookout-terraform-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Flookout-terraform-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Flookout-terraform-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Flookout-terraform-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-d","download_url":"https://codeload.github.com/src-d/lookout-terraform-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252442485,"owners_count":21748451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-05-05T05:05:29.340Z","updated_at":"2025-05-05T05:05:29.823Z","avatar_url":"https://github.com/src-d.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Terraform (fmt) Lookout Analyzer\n================================\n\nThis is a [lookout](https://github.com/src-d/lookout) analyzer that checks if your PR has been Terraform fmt'ed when submitting it.\n\n## Usage\n\nInstall the analyzer, and run it:\n\n```shell\n$ go install github.com/src-d/lookout-terraform-analyzer/cmd/lookout-terraform-analyzer\n$ lookout-terraform-analyzer\n```\n\nThe analyzer will start listening for pull review requests from lookout.\n\n\n### test it\n\nTo test it, `cd` to the desired repository, and proceed as it follows:\n\nGet the latest `lookout-sdk` from [lookout/releases](https://github.com/src-d/lookout/releases) or just run:\n\n```shell\n$ wget -O - https://raw.githubusercontent.com/src-d/lookout-sdk/master/_tools/install-lookout-latest.sh | bash\n```\n\nAnd then run:\n\n```shell\n$ ./lookout-sdk review\n```\n\nIt will mock a Pull Request containing the changes made by `HEAD` over `HEAD~1`, and it will send it to `lookout-terraform-analyzer` that you ran in the [previous step](#usage).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Flookout-terraform-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-d%2Flookout-terraform-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Flookout-terraform-analyzer/lists"}