mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
a2eb462f5d
The new format is radically different in than the old in physical structure, but still has the same logical parts: the plan itself, a snapshot of the input configuration, and a snapshot of the state as it existed when the plan was created. Rather than creating plan-specific serializations of state and config, the new format instead leans on the existing file formats implemented elsewhere, wrapping the result up in a zip archive with some internal file naming conventions. The plan portion of the file is serialized with protobuf, consistent with our general strategy of replacing all use of encoding/gob with protobuf moving forward.
8 lines
280 B
Go
8 lines
280 B
Go
// Package planproto is home to the Go stubs generated from the tfplan protobuf
|
|
// schema.
|
|
//
|
|
// This is an internal package to be used only by Terraform's planfile package.
|
|
// From elsewhere in Terraform, use the API exported by the planfile package
|
|
// itself.
|
|
package planproto
|