core: Record correct provider address in orphan destroy plan

This commit is contained in:
Martin Atkins 2018-08-31 17:07:13 -07:00
parent 9af67806fc
commit 9c9a918790
1 changed files with 5 additions and 4 deletions

View File

@ -59,6 +59,7 @@ func (n *NodePlannableResourceInstanceOrphan) EvalTree() EvalNode {
&EvalDiffDestroy{
Addr: addr.Resource,
State: &state,
ProviderAddr: n.ResolvedProvider,
Output: &change,
OutputState: &state, // Will point to a nil state after this complete, signalling destroyed
},