package
1.1.3
Repository: https://github.com/hugorut/terraform.git
Documentation: pkg.go.dev

# Packages

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
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.

# Constants

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
No description provided by the author
No description provided by the author

# Structs

Cloud is an implementation of EnhancedBackend in service of the Terraform Cloud/Enterprise integration for Terraform CLI.
Colorize is used to print output when the -no-color flag is used.
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

# Interfaces

Colorer is the interface that must be implemented to colorize strings.

# 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.