Versions in this module Expand all Collapse all v0 v0.3.0 Aug 24, 2026 Changes in this version + type LiveCheckCommand struct + func (c *LiveCheckCommand) Help() string + func (c *LiveCheckCommand) Run(rawArgs []string) int + func (c *LiveCheckCommand) Synopsis() string + type LiveImportCommand struct + func (c *LiveImportCommand) Help() string + func (c *LiveImportCommand) Run(rawArgs []string) int + func (c *LiveImportCommand) Synopsis() string v0.2.0 Aug 12, 2026 Changes in this version + const DefaultBackupExtension + const DefaultParallelism + const DefaultPluginVendorDir + const DefaultVarsExtension + const DefaultVarsFilename + const ErrUnsupportedLocalOp + const InputModeEnvVar + const MainStateIdentifier + const PluginPathFile + const VarEnvPrefix + const WorkspaceNameEnvVar + type AliasCommand struct + func (c *AliasCommand) Help() string + func (c *AliasCommand) Run(args []string) int + func (c *AliasCommand) Synopsis() string + type ApplyCommand struct + Destroy bool + func (c *ApplyCommand) Help() string + func (c *ApplyCommand) LoadPlanFile(path string, enc encryption.Encryption) (*planfile.WrappedPlanFile, tfdiags.Diagnostics) + func (c *ApplyCommand) OperationRequest(ctx context.Context, be backend.Enhanced, view views.Apply, ...) (*backend.Operation, tfdiags.Diagnostics) + func (c *ApplyCommand) PrepareBackend(ctx context.Context, planFile *planfile.WrappedPlanFile, args *arguments.State, ...) (backend.Enhanced, tfdiags.Diagnostics) + func (c *ApplyCommand) Run(rawArgs []string) int + func (c *ApplyCommand) Synopsis() string + type BackendOpts struct + Config *configs.Backend + ConfigOverride hcl.Body + ForceLocal bool + Init bool + View views.Backend + type BackendWithRemoteTerraformVersion interface + IgnoreVersionConflict func() + IsLocalOperations func() bool + VerifyWorkspaceTerraformVersion func(workspace string) tfdiags.Diagnostics + type ConsoleCommand struct + func (c *ConsoleCommand) Help() string + func (c *ConsoleCommand) Run(rawArgs []string) int + func (c *ConsoleCommand) Synopsis() string + type FmtCommand struct + func (c *FmtCommand) Help() string + func (c *FmtCommand) Run(rawArgs []string) int + func (c *FmtCommand) Synopsis() string + type GetCommand struct + func (c *GetCommand) Help() string + func (c *GetCommand) Run(rawArgs []string) int + func (c *GetCommand) Synopsis() string + type GraphCommand struct + func (c *GraphCommand) Help() string + func (c *GraphCommand) Run(rawArgs []string) int + func (c *GraphCommand) Synopsis() string + type ImportCommand struct + func (c *ImportCommand) Help() string + func (c *ImportCommand) Run(rawArgs []string) int + func (c *ImportCommand) Synopsis() string + type InitCommand struct + func (c *InitCommand) AutocompleteArgs() complete.Predictor + func (c *InitCommand) AutocompleteFlags() complete.Flags + func (c *InitCommand) Help() string + func (c *InitCommand) Run(rawArgs []string) int + func (c *InitCommand) Synopsis() string + type LiveMvCommand struct + func (c *LiveMvCommand) Help() string + func (c *LiveMvCommand) Run(rawArgs []string) int + func (c *LiveMvCommand) Synopsis() string + type LivePlanCommand struct + func (c *LivePlanCommand) Help() string + func (c *LivePlanCommand) Run(rawArgs []string) int + func (c *LivePlanCommand) Synopsis() string + type LoginCommand struct + func (c *LoginCommand) Help() string + func (c *LoginCommand) Run(rawArgs []string) int + func (c *LoginCommand) Synopsis() string + type LogoutCommand struct + func (c *LogoutCommand) Help() string + func (c *LogoutCommand) Run(rawArgs []string) int + func (c *LogoutCommand) Synopsis() string + type Meta struct + BrowserLauncher webbrowser.Launcher + CallerContext context.Context + MakeRegistryHTTPClient func() *retryablehttp.Client + ModulePackageFetcher *getmodules.PackageFetcher + OCICredentialsPolicyBuilder oci.OCICredsPolicyBuilder + PluginCacheMayBreakDependencyLockFile bool + ProviderDevOverrides map[addrs.Provider]getproviders.PackageLocalDir + ProviderSource getproviders.Source + ProviderSourceLocationConfig getproviders.LocationConfig + Services *disco.Disco + ShutdownCh <-chan struct{} + SystemCfg system.Config + UnmanagedProviders map[addrs.Provider]*plugin.ReattachConfig + View *views.View + WorkingDir *workdir.Dir + func (m *Meta) Backend(ctx context.Context, opts *BackendOpts, enc encryption.StateEncryption) (backend.Enhanced, tfdiags.Diagnostics) + func (m *Meta) BackendForLocalPlan(ctx context.Context, settings plans.Backend, enc encryption.StateEncryption) (backend.Enhanced, tfdiags.Diagnostics) + func (m *Meta) CommandContext() context.Context + func (m *Meta) Encryption(ctx context.Context) (encryption.Encryption, tfdiags.Diagnostics) + func (m *Meta) EncryptionFromModule(ctx context.Context, module *configs.Module) (encryption.Encryption, tfdiags.Diagnostics) + func (m *Meta) EncryptionFromPath(ctx context.Context, path string) (encryption.Encryption, tfdiags.Diagnostics) + func (m *Meta) Input() bool + func (m *Meta) InputMode() tofu.InputMode + func (m *Meta) InterruptibleContext(base context.Context) (context.Context, context.CancelFunc) + func (m *Meta) MaybeGetSchemas(ctx context.Context, state *states.State, config *configs.Config) (*tofu.Schemas, tfdiags.Diagnostics) + func (m *Meta) NewRuntimeEnabled() bool + func (m *Meta) Operation(ctx context.Context, b backend.Backend, view views.Backend, ...) *backend.Operation + func (m *Meta) PlanFile(path string, enc encryption.PlanEncryption) (*planfile.WrappedPlanFile, error) + func (m *Meta) RunOperation(ctx context.Context, b backend.Enhanced, opReq *backend.Operation) (*backend.RunningOperation, tfdiags.Diagnostics) + func (m *Meta) SetWorkspace(name string) error + func (m *Meta) StateOutPath() string + func (m *Meta) StaticConfigInstance(ctx context.Context, root *configs.Module, modules eval.ExternalModules) (*eval.ConfigInstance, tfdiags.Diagnostics) + func (m *Meta) UIInput() tofu.UIInput + func (m *Meta) Workspace(ctx context.Context) (string, error) + func (m *Meta) WorkspaceOverridden(_ context.Context) (string, bool) + type MetadataCommand struct + func (c *MetadataCommand) Help() string + func (c *MetadataCommand) Run(args []string) int + func (c *MetadataCommand) Synopsis() string + type MetadataFunctionsCommand struct + func (c *MetadataFunctionsCommand) Help() string + func (c *MetadataFunctionsCommand) Run(rawArgs []string) int + func (c *MetadataFunctionsCommand) Synopsis() string + type OutputCommand struct + func (c *OutputCommand) Help() string + func (c *OutputCommand) Outputs(ctx context.Context, statePath string, enc encryption.Encryption) (map[string]*states.OutputValue, tfdiags.Diagnostics) + func (c *OutputCommand) Run(rawArgs []string) int + func (c *OutputCommand) Synopsis() string + type PlanCommand struct + func (c *PlanCommand) Help() string + func (c *PlanCommand) OperationRequest(ctx context.Context, be backend.Enhanced, view views.Plan, ...) (*backend.Operation, tfdiags.Diagnostics) + func (c *PlanCommand) PrepareBackend(ctx context.Context, args *arguments.State, view views.Plan, ...) (backend.Enhanced, tfdiags.Diagnostics) + func (c *PlanCommand) Run(rawArgs []string) int + func (c *PlanCommand) Synopsis() string + type ProvidersCommand struct + func (c *ProvidersCommand) Help() string + func (c *ProvidersCommand) Run(rawArgs []string) int + func (c *ProvidersCommand) Synopsis() string + type ProvidersLockCommand struct + func (c *ProvidersLockCommand) Help() string + func (c *ProvidersLockCommand) Run(rawArgs []string) int + func (c *ProvidersLockCommand) Synopsis() string + type ProvidersMirrorCommand struct + func (c *ProvidersMirrorCommand) Help() string + func (c *ProvidersMirrorCommand) Run(rawArgs []string) int + func (c *ProvidersMirrorCommand) Synopsis() string + type ProvidersSchemaCommand struct + func (c *ProvidersSchemaCommand) Help() string + func (c *ProvidersSchemaCommand) Run(rawArgs []string) int + func (c *ProvidersSchemaCommand) Synopsis() string + type PushCommand struct + func (c *PushCommand) Help() string + func (c *PushCommand) Run(rawArgs []string) int + func (c *PushCommand) Synopsis() string + type RefreshCommand struct + func (c *RefreshCommand) Help() string + func (c *RefreshCommand) OperationRequest(ctx context.Context, be backend.Enhanced, view views.Refresh, ...) (*backend.Operation, tfdiags.Diagnostics) + func (c *RefreshCommand) PrepareBackend(ctx context.Context, args *arguments.State, view views.Refresh, ...) (backend.Enhanced, tfdiags.Diagnostics) + func (c *RefreshCommand) Run(rawArgs []string) int + func (c *RefreshCommand) Synopsis() string + type ShowCommand struct + func (c *ShowCommand) Help() string + func (c *ShowCommand) Run(rawArgs []string) int + func (c *ShowCommand) Synopsis() string + type StateCommand struct + func (c *StateCommand) Help() string + func (c *StateCommand) Run(_ []string) int + func (c *StateCommand) Synopsis() string + type StateListCommand struct + func (c *StateListCommand) Help() string + func (c *StateListCommand) Run(rawArgs []string) int + func (c *StateListCommand) Synopsis() string + type StateMeta struct + func (c *StateMeta) State(ctx context.Context, enc encryption.Encryption, view views.State) (statemgr.Full, error) + type StateMvCommand struct + func (c *StateMvCommand) Help() string + func (c *StateMvCommand) Run(rawArgs []string) int + func (c *StateMvCommand) Synopsis() string + type StatePullCommand struct + func (c *StatePullCommand) Help() string + func (c *StatePullCommand) Run(rawArgs []string) int + func (c *StatePullCommand) Synopsis() string + type StatePushCommand struct + func (c *StatePushCommand) Help() string + func (c *StatePushCommand) Run(rawArgs []string) int + func (c *StatePushCommand) Synopsis() string + type StateReplaceProviderCommand struct + func (c *StateReplaceProviderCommand) Help() string + func (c *StateReplaceProviderCommand) Run(rawArgs []string) int + func (c *StateReplaceProviderCommand) Synopsis() string + type StateRmCommand struct + func (c *StateRmCommand) Help() string + func (c *StateRmCommand) Run(rawArgs []string) int + func (c *StateRmCommand) Synopsis() string + type StateShowCommand struct + func (c *StateShowCommand) Help() string + func (c *StateShowCommand) Run(rawArgs []string) int + func (c *StateShowCommand) Synopsis() string + type TaintCommand struct + func (c *TaintCommand) Help() string + func (c *TaintCommand) Run(rawArgs []string) int + func (c *TaintCommand) Synopsis() string + type TestCommand struct + func (c *TestCommand) Help() string + func (c *TestCommand) Run(rawArgs []string) int + func (c *TestCommand) Synopsis() string + type TestFileRunner struct + States map[string]*TestFileState + Suite *TestSuiteRunner + func (runner *TestFileRunner) Cleanup(ctx context.Context, file *moduletest.File) + func (runner *TestFileRunner) ExecuteTestFile(ctx context.Context, file *moduletest.File) + func (runner *TestFileRunner) ExecuteTestRun(ctx context.Context, run *moduletest.Run, file *moduletest.File, ...) (*states.State, bool) + type TestFileState struct + Run *moduletest.Run + State *states.State + type TestSuiteRunner struct + Cancelled bool + CancelledCtx context.Context + Config *configs.Config + GlobalVariables map[string]backend.UnparsedVariableValue + Opts *tofu.ContextOpts + Stopped bool + StoppedCtx context.Context + Suite *moduletest.Suite + Verbose bool + View views.Test + func (runner *TestSuiteRunner) Start(ctx context.Context) + type UIInput struct + Colorize *colorstring.Colorize + Reader io.Reader + Writer io.Writer + func (i *UIInput) Input(ctx context.Context, opts *tofu.InputOpts) (string, error) + type UnlockCommand struct + func (c *UnlockCommand) Help() string + func (c *UnlockCommand) Run(rawArgs []string) int + func (c *UnlockCommand) Synopsis() string + type UntaintCommand struct + func (c *UntaintCommand) Help() string + func (c *UntaintCommand) Run(rawArgs []string) int + func (c *UntaintCommand) Synopsis() string + type ValidateCommand struct + func (c *ValidateCommand) Help() string + func (c *ValidateCommand) Run(rawArgs []string) int + func (c *ValidateCommand) Synopsis() string + type VersionCommand struct + Platform getproviders.Platform + Version string + VersionPrerelease string + func (c *VersionCommand) Help() string + func (c *VersionCommand) Run(rawArgs []string) int + func (c *VersionCommand) Synopsis() string + type WorkspaceCommand struct + LegacyName bool + func (c *WorkspaceCommand) Help() string + func (c *WorkspaceCommand) Run(rawArgs []string) int + func (c *WorkspaceCommand) Synopsis() string + type WorkspaceDeleteCommand struct + LegacyName bool + func (c *WorkspaceDeleteCommand) AutocompleteArgs() complete.Predictor + func (c *WorkspaceDeleteCommand) AutocompleteFlags() complete.Flags + func (c *WorkspaceDeleteCommand) Help() string + func (c *WorkspaceDeleteCommand) Run(rawArgs []string) int + func (c *WorkspaceDeleteCommand) Synopsis() string + type WorkspaceListCommand struct + LegacyName bool + func (c *WorkspaceListCommand) AutocompleteArgs() complete.Predictor + func (c *WorkspaceListCommand) AutocompleteFlags() complete.Flags + func (c *WorkspaceListCommand) Help() string + func (c *WorkspaceListCommand) Run(rawArgs []string) int + func (c *WorkspaceListCommand) Synopsis() string + type WorkspaceNewCommand struct + LegacyName bool + func (c *WorkspaceNewCommand) AutocompleteArgs() complete.Predictor + func (c *WorkspaceNewCommand) AutocompleteFlags() complete.Flags + func (c *WorkspaceNewCommand) Help() string + func (c *WorkspaceNewCommand) Run(rawArgs []string) int + func (c *WorkspaceNewCommand) Synopsis() string + type WorkspaceSelectCommand struct + LegacyName bool + func (c *WorkspaceSelectCommand) AutocompleteArgs() complete.Predictor + func (c *WorkspaceSelectCommand) AutocompleteFlags() complete.Flags + func (c *WorkspaceSelectCommand) Help() string + func (c *WorkspaceSelectCommand) Run(rawArgs []string) int + func (c *WorkspaceSelectCommand) Synopsis() string + type WorkspaceShowCommand struct + func (c *WorkspaceShowCommand) AutocompleteArgs() complete.Predictor + func (c *WorkspaceShowCommand) AutocompleteFlags() complete.Flags + func (c *WorkspaceShowCommand) Help() string + func (c *WorkspaceShowCommand) Run(rawArgs []string) int + func (c *WorkspaceShowCommand) Synopsis() string