package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev

# Functions

FlagIsSet returns whether a flag is explicitly set in a set of flags.
No description provided by the author
ParseApply processes CLI arguments, returning an Apply value and errors.
ParseApplyDestroy is a special case of ParseApply that deals with the "terraform destroy" command, which is effectively an alias for "terraform apply -destroy".
ParseInit processes CLI arguments, returning an Init value and errors.
ParseModules processes CLI arguments, returning a Modules value and error diagnostics.
ParseOutput processes CLI arguments, returning an Output value and errors.
ParsePlan processes CLI arguments, returning a Plan value and errors.
ParseRefresh processes CLI arguments, returning a Refresh value and errors.
ParseShow processes CLI arguments, returning a Show value and errors.
No description provided by the author
ParseValidate processes CLI arguments, returning a Validate value and errors.
ParseView processes CLI arguments, returning a View value and a possibly-modified slice of arguments.

# Constants

DefaultParallelism is the limit Terraform places on total parallel operations as it walks the dependency graph.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Apply represents the command-line arguments for the apply command.
No description provided by the author
FlagNameValueSlice is a flag.Value implementation that appends raw flag names and values to a slice.
Init represents the command-line arguments for the init command.
Modules represents the command-line arguments for the modules command.
Operation describes arguments which are used to configure how a Terraform operation such as a plan or apply executes.
Output represents the command-line arguments for the output command.
Plan represents the command-line arguments for the plan command.
Refresh represents the command-line arguments for the apply command.
Show represents the command-line arguments for the show command.
State describes arguments which are used to define how Terraform interacts with state.
Test represents the command-line arguments for the test command.
Validate represents the command-line arguments for the validate command.
Vars describes arguments which specify non-default variable values.
View represents the global command-line arguments which configure the view.

# Type aliases

FlagStringSlice is a flag.Value implementation which allows collecting multiple instances of a single flag into a slice.
ViewType represents which view layer to use for a given command.