GithubHelp home page GithubHelp logo

isabella232 / lookout-terraform-analyzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from src-d/lookout-terraform-analyzer

0.0 0.0 0.0 4.14 MB

This is a lookout analyzer that checks if your PR has been Terraform fmt'ed when submitting it.

License: Mozilla Public License 2.0

Go 89.64% Dockerfile 2.35% Makefile 8.01%

lookout-terraform-analyzer's Introduction

Terraform (fmt) Lookout Analyzer

This is a lookout analyzer that checks if your PR has been Terraform fmt'ed when submitting it.

Usage

Install the analyzer, and run it:

$ go install github.com/src-d/lookout-terraform-analyzer/cmd/lookout-terraform-analyzer
$ lookout-terraform-analyzer

The analyzer will start listening for pull review requests from lookout.

test it

To test it, cd to the desired repository, and proceed as it follows:

Get the latest lookout-sdk from lookout/releases or just run:

$ wget -O - https://raw.githubusercontent.com/src-d/lookout-sdk/master/_tools/install-lookout-latest.sh | bash

And then run:

$ ./lookout-sdk review

It 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.

lookout-terraform-analyzer's People

Contributors

dpordomingo avatar meyskens avatar smacker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.