diff --git a/terraform/transform_orphan.go b/terraform/transform_orphan.go index 780d8430b..e2a9c7dcd 100644 --- a/terraform/transform_orphan.go +++ b/terraform/transform_orphan.go @@ -262,6 +262,7 @@ func (n *graphNodeOrphanResource) EvalTree() EvalNode { Dependencies: n.DependentOn(), State: &state, }, + &EvalUpdateStateHook{}, }, }, }) diff --git a/terraform/transform_resource.go b/terraform/transform_resource.go index 0ce4f4cd7..19c9c418a 100644 --- a/terraform/transform_resource.go +++ b/terraform/transform_resource.go @@ -400,6 +400,7 @@ func (n *graphNodeExpandedResource) EvalTree() EvalNode { State: &state, Error: &err, }, + &EvalUpdateStateHook{}, }, }, }) diff --git a/terraform/transform_tainted.go b/terraform/transform_tainted.go index 50223a9e8..1e1b2cb31 100644 --- a/terraform/transform_tainted.go +++ b/terraform/transform_tainted.go @@ -163,6 +163,7 @@ func (n *graphNodeTaintedResource) EvalTree() EvalNode { Tainted: &tainted, TaintedIndex: n.Index, }, + &EvalUpdateStateHook{}, }, }, })