# Functions
BuildPluginCommandString builds a special string for executing internal plugins.
ModulePath returns the path to the root module from the CLI args.
# Constants
DefaultBackupExtension is added to the state file to form the path.
DefaultDataDir is the default directory for storing local data.
DefaultParallelism is the limit Terraform places on total parallel operations as it walks the dependency graph.
DefaultStateFilename is the default filename used for the state file.
DefaultVarsFilename is the default filename used for vars.
ErrUnsupportedLocalOp is the common error message shown for operations that require a backend.Local.
InputModeEnvVar is the environment variable that, if set to "false" or "0", causes terraform commands to behave as if the `-input=false` flag was specified.
ModuleDepthDefault is the default value for module depth, which can be overridden by flag or env var.
ModuleDepthEnvVar is the name of the environment variable that can be used to set module depth.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
ApplyCommand is a Command implementation that applies a Terraform configuration and actually builds or changes infrastructure.
BackendOpts are the options used to initialize a backend.Backend.
ColoredUi is a Ui implementation that colors its output according to the given color schemes for the given type of output.
ConsoleCommand is a Command implementation that applies a Terraform configuration and actually builds or changes infrastructure.
CountHook is a hook that counts the number of resources added, removed, changed during the course of an apply.
DebugCommand is a Command implementation that just shows help for the subcommands nested below it.
DebugJSON2DotCommand is a Command implementation that translates a json graph debug log to Dot format.
EnvCommand is a Command Implementation that manipulates local state environments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FmtCommand is a Command implementation that rewrites Terraform config files to a canonical format and style.
GetCommand is a Command implementation that takes a Terraform configuration and downloads all the modules.
GraphCommand is a Command implementation that takes a Terraform configuration and outputs the dependency tree in graphical form.
ImportCommand is a cli.Command implementation that imports resources into the Terraform state.
InitCommand is a Command implementation that takes a Terraform module and clones it to the working directory.
InternalPluginCommand is a Command implementation that allows plugins to be compiled into the main Terraform binary and executed via a subcommand.
Meta are the meta-options that are available on all or most commands.
OutputCommand is a Command implementation that reads an output from a Terraform state and prints it.
PlanCommand is a Command implementation that compares a Terraform configuration to an actual infrastructure and shows the differences.
No description provided by the author
RefreshCommand is a cli.Command implementation that refreshes the state file.
ShowCommand is a Command implementation that reads and outputs the contents of a Terraform plan or state file.
StateCommand is a Command implementation that just shows help for the subcommands nested below it.
StateHook is a hook that continuously updates the state by calling WriteState on a state.State.
StateListCommand is a Command implementation that lists the resources within a state file.
StateMeta is the meta struct that should be embedded in state subcommands.
StateMvCommand is a Command implementation that shows a single resource.
StatePullCommand is a Command implementation that shows a single resource.
StatePushCommand is a Command implementation that shows a single resource.
StateRmCommand is a Command implementation that shows a single resource.
StateShowCommand is a Command implementation that shows a single resource.
TaintCommand is a cli.Command implementation that manually taints a resource, marking it for recreation.
No description provided by the author
UIInput is an implementation of terraform.UIInput that asks the CLI for input stdin.
UnlockCommand is a cli.Command implementation that manually unlocks the state.
UntaintCommand is a cli.Command implementation that manually untaints a resource, marking it as primary and ready for service.
ValidateCommand is a Command implementation that validates the terraform files.
VersionCheckInfo is the return value for the VersionCheckFunc callback and tells the Version command information about the latest version of Terraform.
VersionCommand is a Command implementation prints the version.
# Type aliases
FlagStringKV is a flag.Value implementation for parsing user variables from the command-line in the format of '-var key=value', where value is only ever a primitive.
FlagStringSlice is a flag.Value implementation for parsing targets from the command line, e.g.
VersionCheckFunc is the callback called by the Version command to check if there is a new version of Terraform.