package
0.6.3
Repository: https://github.com/sl1pm4t/terraform.git
Documentation: pkg.go.dev

# Functions

FormatPlan takes a plan and returns a.
FormatState takes a state and returns a string.
State returns the proper state.State implementation to represent the current environment.
StateFromPlan gets our state from the plan.

# Constants

DefaultBackupExtention is added to the state file to form the path.
DefaultDataDir is the default directory for storing local data.
DefaultDataDirectory is the directory where local state is stored by default.
DefaultStateFilename is the default filename used for the state file.
DefaultVarsFilename is the default filename used for vars.
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.
The name of the environment variable that can be used to set module depth.

# Structs

ApplyCommand is a Command implementation that applies a Terraform configuration and actually builds or changes infrastructure.
ColoredUi is a Ui implementation that colors its output according to the given color schemes for the given type of output.
Config is a structure used to configure many commands with Terraform configurations.
CountHook is a hook that counts the number of resources added, removed, changed during the course of an apply.
FormatPlanOpts are the options for formatting a plan.
FormatStateOpts are the options for formatting a state.
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.
InitCommand is a Command implementation that takes a Terraform module and clones it to the working directory.
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.
No description provided by the author
RemoteConfigCommand is a Command implementation that is used to enable and disable remote state management.
No description provided by the author
No description provided by the author
ShowCommand is a Command implementation that reads and outputs the contents of a Terraform plan or state file.
StateHook is a hook that continuously updates the state by calling WriteState on a state.State.
StateOpts are options to get the state for a command.
StateResult is the result of calling State and holds various different State implementations so they can be accessed directly.
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.
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

FlagKV is a flag.Value implementation for parsing user variables from the command-line in the format of '-var key=value'.
FlagKVFile is a flag.Value implementation for parsing user variables from the command line in the form of files.
No description provided by the author
VersionCheckFunc is the callback called by the Version command to check if there is a new version of Terraform.