Versions in this module Expand all Collapse all v1 v1.0.0 Jan 13, 2026 Changes in this version + const DefaultBackupExtension + const DefaultDataDir + const DefaultParallelism + const DefaultPluginVendorDir + const DefaultStateFilename + 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) GatherVariables(args *arguments.Vars) + 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 + ViewType arguments.ViewType + type ColorizeUi struct + Colorize *colorstring.Colorize + ErrorColor string + InfoColor string + OutputColor string + Ui cli.Ui + WarnColor string + func (u *ColorizeUi) Ask(query string) (string, error) + func (u *ColorizeUi) AskSecret(query string) (string, error) + func (u *ColorizeUi) Error(message string) + func (u *ColorizeUi) Info(message string) + func (u *ColorizeUi) Output(message string) + func (u *ColorizeUi) Warn(message string) + type ConsoleCommand struct + func (c *ConsoleCommand) Help() string + func (c *ConsoleCommand) Run(args []string) int + func (c *ConsoleCommand) Synopsis() string + type FlagStringKV map[string]string + func (v *FlagStringKV) Set(raw string) error + func (v *FlagStringKV) String() string + type FlagStringSlice []string + func (v *FlagStringSlice) Set(raw string) error + func (v *FlagStringSlice) String() string + type FmtCommand struct + func (c *FmtCommand) Help() string + func (c *FmtCommand) Run(args []string) int + func (c *FmtCommand) Synopsis() string + type GetCommand struct + func (c *GetCommand) Help() string + func (c *GetCommand) Run(args []string) int + func (c *GetCommand) Synopsis() string + type GraphCommand struct + func (c *GraphCommand) Help() string + func (c *GraphCommand) Run(args []string) int + func (c *GraphCommand) Synopsis() string + type ImportCommand struct + func (c *ImportCommand) Help() string + func (c *ImportCommand) Run(args []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(args []string) int + func (c *InitCommand) Synopsis() string + type Meta struct + AllowExperimentalFeatures bool + BrowserLauncher webbrowser.Launcher + CLIConfigDir string + CallerContext context.Context + Color bool + GlobalPluginDirs []string + MakeRegistryHTTPClient func() *retryablehttp.Client + ModulePackageFetcher *getmodules.PackageFetcher + PluginCacheDir string + PluginCacheMayBreakDependencyLockFile bool + ProviderDevOverrides map[addrs.Provider]getproviders.PackageLocalDir + ProviderSource getproviders.Source + ProviderSourceLocationConfig getproviders.LocationConfig + RunningInAutomation bool + Services *disco.Disco + ShutdownCh <-chan struct{} + Streams *terminal.Streams + Ui cli.Ui + UnmanagedProviders map[addrs.Provider]*plugin.ReattachConfig + View *views.View + WorkingDir *workdir.Dir + func (c *Meta) MaybeGetSchemas(ctx context.Context, state *states.State, config *configs.Config) (*farseek.Schemas, tfdiags.Diagnostics) + 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) Colorize() *colorstring.Colorize + func (m *Meta) CommandContext() context.Context + func (m *Meta) DataDir() string + 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) ErrorColumns() int + func (m *Meta) Input() bool + func (m *Meta) InputMode() farseek.InputMode + func (m *Meta) InterruptibleContext(base context.Context) (context.Context, context.CancelFunc) + func (m *Meta) Operation(ctx context.Context, b backend.Backend, vt arguments.ViewType, ...) *backend.Operation + func (m *Meta) OutputColumns() int + 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) StdinPiped() bool + func (m *Meta) UIInput() farseek.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(args []string) int + func (c *MetadataFunctionsCommand) Synopsis() string + type OutputCommand struct + func (c *OutputCommand) GatherVariables(args *arguments.Vars) + 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) GatherVariables(args *arguments.Vars) + 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, viewType arguments.ViewType, ...) (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(args []string) int + func (c *ProvidersCommand) Synopsis() string + type ProvidersLockCommand struct + func (c *ProvidersLockCommand) Help() string + func (c *ProvidersLockCommand) Run(args []string) int + func (c *ProvidersLockCommand) Synopsis() string + type ProvidersMirrorCommand struct + func (c *ProvidersMirrorCommand) Help() string + func (c *ProvidersMirrorCommand) Run(args []string) int + func (c *ProvidersMirrorCommand) Synopsis() string + type ProvidersSchemaCommand struct + func (c *ProvidersSchemaCommand) Help() string + func (c *ProvidersSchemaCommand) Run(args []string) int + func (c *ProvidersSchemaCommand) Synopsis() string + type PushCommand struct + func (c *PushCommand) Help() string + func (c *PushCommand) Run(args []string) int + func (c *PushCommand) Synopsis() string + type ShowCommand struct + func (c *ShowCommand) GatherVariables(args *arguments.Vars) + func (c *ShowCommand) Help() string + func (c *ShowCommand) Run(rawArgs []string) int + func (c *ShowCommand) Synopsis() string + type TaintCommand struct + func (c *TaintCommand) Help() string + func (c *TaintCommand) Run(args []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 *farseek.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 *farseek.InputOpts) (string, error) + type UnlockCommand struct + func (c *UnlockCommand) Help() string + func (c *UnlockCommand) Run(args []string) int + func (c *UnlockCommand) Synopsis() string + type UntaintCommand struct + func (c *UntaintCommand) Help() string + func (c *UntaintCommand) Run(args []string) int + func (c *UntaintCommand) Synopsis() string + type ValidateCommand struct + func (c *ValidateCommand) GatherVariables(args *arguments.Vars) + 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(args []string) int + func (c *VersionCommand) Synopsis() string + type VersionOutput struct + FIPS140Enabled bool + Platform string + ProviderSelections map[string]string + Version string + type WorkspaceCommand struct + LegacyName bool + func (c *WorkspaceCommand) Help() string + func (c *WorkspaceCommand) Run(args []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(args []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(args []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(args []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(args []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(args []string) int + func (c *WorkspaceShowCommand) Synopsis() string + type WrappedUi struct + func (m *WrappedUi) Ask(s string) (string, error) + func (m *WrappedUi) AskSecret(s string) (string, error) + func (m *WrappedUi) Error(s string) + func (m *WrappedUi) Info(s string) + func (m *WrappedUi) Output(s string) + func (m *WrappedUi) Warn(s string)