core: Record correct provider address in orphan destroy plan

pull/19086/head
Martin Atkins 8 years ago
parent 9af67806fc
commit 9c9a918790

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

Loading…
Cancel
Save