package
0.2.1
Repository: https://github.com/covergo/terraform-exec.git
Documentation: pkg.go.dev

# Functions

AllowMissingConfig represents the -allow-missing-config flag.
Backend represents the -backend flag.
BackendConfig represents the -backend-config flag.
Backup represents the -backup flag.
BackupOutOption represents the -backup-out flag.
CleanEnv removes any prohibited environment variables from an environment map.
Config represents the -config flag.
CopyState represents the -state flag for terraform workspace new.
Destroy represents the -destroy flag.
No description provided by the author
No description provided by the author
DisableBackup is a convenience method for Backup("-"), indicating backup state should be disabled.
DryRun represents the -dry-run flag.
No description provided by the author
No description provided by the author
FormatString formats a passed string, given a path to Terraform.
No description provided by the author
No description provided by the author
FSMirror represents the -fs-mirror option (path to filesystem mirror directory).
No description provided by the author
No description provided by the author
No description provided by the author
Lock represents the -lock flag.
LockTimeout represents the -lock-timeout flag.
NetMirror represents the -net-mirror option (base URL of a network mirror).
NewTerraform returns a Terraform struct with default values for all fields.
No description provided by the author
No description provided by the author
Platform represents the -platform flag which is an os_arch string.
No description provided by the author
ProhibitedEnv returns a slice of environment variable keys that are not allowed to be set manually from the passed environment.
Provider represents the positional argument (provider source address).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
State represents the -state flag.
No description provided by the author
No description provided by the author
No description provided by the author
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

AllowMissingConfigOption represents the -allow-missing-config flag.
BackendConfigOption represents the -backend-config flag.
BackendOption represents the -backend flag.
BackupOption represents the -backup flag.
No description provided by the author
ConfigOption represents the -config flag.
CopyStateOption represents the -state flag for terraform workspace new.
DestroyFlagOption represents the -destroy flag.
No description provided by the author
No description provided by the author
No description provided by the author
ErrCLIUsage is returned when the combination of flags or arguments is incorrect.
No description provided by the author
ErrManualEnvVar is returned when an env var that should be set programatically via an option or method is set via the manual environment passing functions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrTFVersionMismatch is returned when the running Terraform version is not compatible with the value specified for required_version in the terraform block.
ErrVersionMismatch is returned when the detected Terraform version is not compatible with the command or flags being used in this invocation.
ErrWorkspaceExists is returned when creating a workspace that already exists.
No description provided by the author
No description provided by the author
No description provided by the author
FromStateOption represents the -from-state option of the "terraform add" command.
No description provided by the author
No description provided by the author
No description provided by the author
IncludeOptionalOption represents the -optional option of the "terraform add" command.
LockOption represents the -lock flag.
LockTimeoutOption represents the -lock-timeout flag.
No description provided by the author
No description provided by the author
OutputMeta represents the JSON output of 'terraform output -json', which resembles state format version 3 due to a historical accident.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReattachConfig holds the information Terraform needs to be able to attach itself to a provider process, so it can drive the process.
ReattachConfigAddr is a JSON-encoding friendly version of net.Addr.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Terraform represents the Terraform CLI executable and working directory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
ApplyOption represents options used in the Apply method.
DestroyOption represents options used in the Destroy method.
No description provided by the author
GetCmdOption represents options used in the Get method.
ImportOption represents options used in the Import method.
InitOption represents options used in the Init method.
OutputOption represents options used in the Output method.
PlanOption represents options used in the Plan method.
No description provided by the author
RefreshCmdOption represents options used in the Refresh method.
No description provided by the author
StateMvCmdOption represents options used in the Refresh method.
StateRmCmdOption represents options used in the Refresh method.
Upgrade012Option represents options used in the Destroy method.
Upgrade013Option represents options used in the Destroy method.
WorkspaceNewCmdOption represents options that are applicable to the WorkspaceNew method.

# Type aliases

No description provided by the author