3ff

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL