3 // NodeDestroyableDataResource represents a resource that is "plannable":
4 // it is ready to be planned in order to create a diff.
5 type NodeDestroyableDataResource struct {
10 func (n *NodeDestroyableDataResource) EvalTree() EvalNode {
11 addr := n.NodeAbstractResource.Addr
13 // stateId is the ID to put into the state
14 stateId := addr.stateId()
17 var state *InstanceState
18 return &EvalWriteState{
20 State: &state, // state is nil here