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

# Functions

No description provided by the author
Read reads a state from the given reader.
StatesMarshalEqual returns true if and only if the two given states have an identical (byte-for-byte) statefile representation.
Write writes the given state to the given writer in the current state serialization format.
WriteForTest writes the given state to the given writer in the current state serialization format without recording the current terraform version.

# Variables

ErrNoState is returned by ReadState when the state file is empty.

# Structs

ErrUnusableState is an error wrapper to indicate that we *think* the input represents state data, but can't use it for some reason (as explained in the error text).
File is the in-memory representation of a state file.