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