terraform: deposed should have a unique ID for instance info

This commit is contained in:
Mitchell Hashimoto 2016-10-06 10:48:59 -07:00
parent 24456c042a
commit a355d4ad55
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ func (n *graphNodeDeposedResource) EvalTree() EvalNode {
seq := &EvalSequence{Nodes: make([]EvalNode, 0, 5)}
// 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})
// Refresh the resource