Giter Site home page Giter Site logo

go-3ff's Introduction

3ff

This utility shows modified Terrafrom resources by comparing two files Actually this is an open sourced version of Wix's tfResDiff tool

3ff reads as triff, stands for TeRraForm difF (TRF is substituted by simply 3)

How to build?

In the project directory: $ go build

How to launch?

From the help function:

 Usage of ./3ff:
    -d    Enable debug output to StdErr
    -t    Output modified resources only (For terraform command)
    -version
          Show version info

To compare files command looks just as simple as:

$ ./3ff <source file/dir> <modified file/dir>

To get more verbose output -d key can be used. Output will be printed to stderr. Use still can use redirection to /dev/null to suppress it:

$ ./3ff -d <source file/dir> <modified file/dir> 2>/dev/null

To get list of modified resources to be used by terraform"

$ ./3ff -t <source file/dir> <modified file/dir>

Environment variables

3ff_DEBUG - Enables debug output (Like -d flag)

Changelog

v0.0.1

Initial version, which is a truncated copy of Wix's 3ff utility version 1.2.10

v0.1.4

Can be used publicly as a standalone Terraform comparison tool. Also this version was tested to use in tfResDif as a library

v0.1.5

This version can be used publicly as a standalone tool

v0.1.6

This version can be used publicly in other tools as a library as well as aa standalone tool

0.1.8

Add GetTfResources method which returns all parsed terraform resource names, which can be used as targets in terraform

0.1.9

Add some terraform HCL block resource type support

go-3ff's People

Contributors

maskimko avatar

Watchers

James Cloos 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.