terraform: deposed should have a unique ID for instance info
This commit is contained in:
parent
24456c042a
commit
a355d4ad55
|
@ -72,7 +72,7 @@ func (n *graphNodeDeposedResource) EvalTree() EvalNode {
|
||||||
seq := &EvalSequence{Nodes: make([]EvalNode, 0, 5)}
|
seq := &EvalSequence{Nodes: make([]EvalNode, 0, 5)}
|
||||||
|
|
||||||
// Build instance info
|
// Build instance info
|
||||||
info := &InstanceInfo{Id: n.ResourceName, Type: n.ResourceType}
|
info := &InstanceInfo{Id: n.Name(), Type: n.ResourceType}
|
||||||
seq.Nodes = append(seq.Nodes, &EvalInstanceInfo{Info: info})
|
seq.Nodes = append(seq.Nodes, &EvalInstanceInfo{Info: info})
|
||||||
|
|
||||||
// Refresh the resource
|
// Refresh the resource
|
||||||
|
|
Loading…
Reference in New Issue