Skip to content

Generate Terrafiles and (optionally) re-write Terraform source to use vendored modules

License

Notifications You must be signed in to change notification settings

sgreben/terrafile-ify

Repository files navigation

terrafile-ify

terrafile-ify generates Terrafiles and (optionally) re-writes Terraform source to use vendored modules.

Contents

Get it

Using go get:

go get -u github.com/sgreben/terrafile-ify

Or download the binary from the releases page.

# Linux
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_linux_x86_64.zip
unzip terrafile-ify_0.1.1_linux_x86_64.zip

# OS X
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_osx_x86_64.zip
unzip terrafile-ify_0.1.1_osx_x86_64.zip

# Windows
curl -LO https://github.com/sgreben/terrafile-ify/releases/download/0.1.1/terrafile-ify_0.1.1_windows_x86_64.zip
unzip terrafile-ify_0.1.1_windows_x86_64.zip

Usage

terrafile-ify (generate|rewrite|execute)

    generate    Generate Terrafiles
    rewrite     Rewrite module references to use vendored modules
    execute     Run the `terrafile` binary on each Terrafile

Usage of terrafile-ify:
  -ignore string
    	ignore files and directories matching this glob pattern (default ".terraform")
  -terrafile-binary string
    	terrafile binary name (default "terrafile")
  -version
    	print version and exit

About

Generate Terrafiles and (optionally) re-write Terraform source to use vendored modules

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published