tf-wrapper

command module
v0.0.0-...-3a4a25b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

Terraform wrapper made with Golang

This is a wrapper program used to run terraform pipelines with a single command. It's primarily meant as a working example to modify and expand on. Versus other examples you might find online I tried implementations that are not as trivial and something that might actually get used.

Features

  • Cobra for command line args and flags
  • Viper for config file to record common commands
  • Configurable to run a pipeline of terraform configurations/directories
  • Support for different environments: dev/integration/prod...
  • Docker container support with image name arg
  • Plus more...

After compiling run

$ tf-wrapper -h  # for help

$ tf-wrapper apply -e dev -i abc123  # example apply pipeline

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