cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2016 License: MIT Imports: 11 Imported by: 16

Documentation

Index

Constants

View Source
const CUSTOM_USAGE_TEXT = `` /* 837-byte string literal not displayed */

Since Terragrunt is just a thin wrapper for Terraform, and we don't want to repeat every single Terraform command in its definition, we don't quite fit into the model of any Go CLI library. Fortunately, urfave/cli allows us to override the whole template used for the Usage Text.

View Source
const OPT_NON_INTERACTIVE = "terragrunt-non-interactive"
View Source
const OPT_TERRAGRUNT_CONFIG = "terragrunt-config"
View Source
const TERRAFORM_EXTENSION_GLOB = "*.tf"

Variables

View Source
var DontManuallyConfigureRemoteState = fmt.Errorf("Instead of manually using the 'remote config' command, define your remote state settings in .terragrunt and Terragrunt will automatically configure it for you (and all your team members) next time you run it.")
View Source
var MODULE_REGEX = regexp.MustCompile(`module ".+"`)
View Source
var MissingTerragruntConfigValue = fmt.Errorf("You must specify a value for the --%s option", OPT_TERRAGRUNT_CONFIG)

Functions

func CreateTerragruntCli

func CreateTerragruntCli(version string) *cli.App

Create the Terragrunt CLI App

Types

This section is empty.

Jump to

Keyboard shortcuts

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