Documentation
¶
Overview ¶
Package statemoves loads the optional --state-moves manifest: per stack, the addresses being moved IN by an external cross-state move (infra's state-mover). A planned create of such an address is a relocation, not a real create, so classification treats it as non-mutating.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
type Set ¶
func (Set) Covers ¶ added in v0.5.8
Covers reports whether addr is a pending move-target — either an exact match, or a resource nested under a moved module/resource target (a "target." prefix). A whole-module move (target "module.x") thus covers every planned child it produces ("module.x.google_project_iam_member.y", …), which is the granularity terraform plans actually surface (there is no bare "module.x" change). The "." boundary keeps "module.x" from matching a sibling "module.x_other".