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

# Packages

Copyright (c) HashiCorp, Inc.
No description provided by the author

# Functions

DetectConfigChangeType encapsulates the fiddly logic for deciding what kind of Cloud configuration change we seem to be making, based on the existing working directory state (if any) and the current configuration.
No description provided by the author
New creates a new initialized cloud backend.
No description provided by the author
ParseCloudRunTestVariables is similar to ParseCloudVariables, except it does not make any assumptions about variables needed by the configuration.
ParseCloudRunVariables accepts a mapping of unparsed values and a mapping of variable declarations and returns a name/value variable map appropriate for an API run context, that is, containing variables only sourced from non-file inputs like CLI args and environment variables.
RetryBackoff retries function f until nil or a FatalError is returned.

# Constants

No description provided by the author
ConfigChangeInPlace represents when both the working directory state and the config call for using Cloud mode, and so there might be (but won't necessarily be) cloud settings changing, but we don't need to do any actual migration.
ConfigChangeIrrelevant represents when the config and working directory state disagree but neither calls for using Cloud mode, and so the Cloud integration is not involved in dealing with this.
ConfigMigrationIn represents when the configuration calls for using Cloud mode but the working directory state disagrees.
ConfigMigrationOut represents when the working directory state calls for using Cloud mode but the working directory state disagrees.
No description provided by the author
No description provided by the author
HeaderSnapshotInterval is the header key that controls the snapshot interval.
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

# Variables

No description provided by the author
No description provided by the author

# Structs

Cloud is an implementation of EnhancedBackend in service of the HCP Terraform or Terraform Enterprise integration for Terraform CLI.
Colorize is used to print output when the -no-color flag is used.
IntegrationContext is a set of data that is useful when performing HCP Terraform integration operations.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
NonRetryableError is a simple implementation of Fatal that wraps an error.
State implements the State interfaces in the state package to handle reading and writing the remote state to HCP Terraform.
TestSuiteRunner executes any tests found in the relevant directories in TFC.
No description provided by the author

# Interfaces

Colorer is the interface that must be implemented to colorize strings.
Fatal implements a RetryBackoff func return value that, if encountered, signals that the func should not be retried.
IntegrationOutputWriter is an interface used to to write output tailored for HCP Terraform integrations.

# Type aliases

ConfigChangeMode is a rough way to think about different situations that our backend change and state migration codepaths need to distinguish in the context of Cloud integration mode.
No description provided by the author