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

# Functions

ActionFromProto translates from the protobuf representation of change actions into the "plans" package's representation, or returns an error if the given action is unrecognized.
ActionToProto translates from the "plans" package's representation of change actions into the protobuf representation, or returns an error if the given action is unrecognized.
CheckResultsFromPlanProto decodes a slice of check results from their protobuf representation into the "states" package's representation.
CheckResultsToPlanProto encodes a slice of check results from the "states" package's representation into their protobuf representation.
Create creates a new plan file with the given filename, overwriting any file that might already exist there.
No description provided by the author
No description provided by the author
DeferredResourceChangeFromProto decodes an isolated deferred resource instance change from its representation as a protocol buffers message.
NewWrappedCloud constructs a WrappedPlanFile from an already loaded cloud plan file.
NewWrappedLocal constructs a WrappedPlanFile from an already loaded local plan file reader.
Open creates a Reader for the file at the given filename, or returns an error if the file doesn't seem to be a planfile.
OpenWrapped loads a local or cloud plan file from a specified file path, or returns an error if the file doesn't seem to be a plan file of either kind.
PathFromProto decodes a path to a nested attribute into a cty.Path for use in tracking marked values.
ResourceChangeFromProto decodes an isolated resource instance change from its representation as a protocol buffers message.
ResourceChangeToProto encodes an isolated resource instance change into its representation as a protocol buffers message.

# Structs

No description provided by the author
ErrUnusableLocalPlan is an error wrapper to indicate that we *think* the input represents plan file data, but can't use it for some reason (as explained in the error text).
Reader is the main type used to read plan files.
WrappedPlanFile is a sum type that represents a saved plan, loaded from a file path passed on the command line.