terraform: call the EvalUpdateStateHook strategically
This commit is contained in:
parent
429711b938
commit
821536b1e9
|
@ -262,6 +262,7 @@ func (n *graphNodeOrphanResource) EvalTree() EvalNode {
|
||||||
Dependencies: n.DependentOn(),
|
Dependencies: n.DependentOn(),
|
||||||
State: &state,
|
State: &state,
|
||||||
},
|
},
|
||||||
|
&EvalUpdateStateHook{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -400,6 +400,7 @@ func (n *graphNodeExpandedResource) EvalTree() EvalNode {
|
||||||
State: &state,
|
State: &state,
|
||||||
Error: &err,
|
Error: &err,
|
||||||
},
|
},
|
||||||
|
&EvalUpdateStateHook{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -163,6 +163,7 @@ func (n *graphNodeTaintedResource) EvalTree() EvalNode {
|
||||||
Tainted: &tainted,
|
Tainted: &tainted,
|
||||||
TaintedIndex: n.Index,
|
TaintedIndex: n.Index,
|
||||||
},
|
},
|
||||||
|
&EvalUpdateStateHook{},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue