terraform: call the EvalUpdateStateHook strategically

This commit is contained in:
Mitchell Hashimoto 2015-02-23 19:13:25 -08:00
parent 429711b938
commit 821536b1e9
3 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,7 @@ func (n *graphNodeOrphanResource) EvalTree() EvalNode {
Dependencies: n.DependentOn(),
State: &state,
},
&EvalUpdateStateHook{},
},
},
})

View File

@ -400,6 +400,7 @@ func (n *graphNodeExpandedResource) EvalTree() EvalNode {
State: &state,
Error: &err,
},
&EvalUpdateStateHook{},
},
},
})

View File

@ -163,6 +163,7 @@ func (n *graphNodeTaintedResource) EvalTree() EvalNode {
Tainted: &tainted,
TaintedIndex: n.Index,
},
&EvalUpdateStateHook{},
},
},
})