MCPcopy
hub / github.com/opentofu/opentofu / ResourceInstancePhase

Struct ResourceInstancePhase

internal/addrs/resource_phase.go:20–24  ·  view source on GitHub ↗

ResourceInstancePhase is a special kind of reference used only internally during graph building to represent resource instances that are in a non-primary state. Graph nodes can declare themselves referenceable via an instance phase or can declare that they reference an instance phase in order to ac

Source from the content-addressed store, hash-verified

18// This special reference type cannot be accessed directly by end-users, and
19// should never be shown in the UI.
20type ResourceInstancePhase struct {
21 referenceable
22 ResourceInstance ResourceInstance
23 Phase ResourceInstancePhaseType
24}
25
26var _ Referenceable = ResourceInstancePhase{}
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected