# 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
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
# Variables
No description provided by the author
# Structs
Cloud is an implementation of EnhancedBackend in service of the cloud backend integration for OpenTofu 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 Terraform Cloud 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
State implements the State interfaces in the state package to handle reading and writing the remote state to TFC.
No description provided by the author
# Interfaces
Colorer is the interface that must be implemented to colorize strings.
IntegrationOutputWriter is an interface used to to write output tailored for Terraform Cloud 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