mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
store planned data source state when deferring
This copies the behavior of resources, so that there is a placeholder state available for planning.
This commit is contained in:
parent
7204ba4ec2
commit
7d3cd5bc43
@ -88,7 +88,7 @@ func (n *evalReadDataPlan) Eval(ctx EvalContext) (interface{}, error) {
|
||||
}
|
||||
|
||||
*n.State = &states.ResourceInstanceObject{
|
||||
Value: cty.NullVal(objTy),
|
||||
Value: proposedNewVal,
|
||||
Status: states.ObjectPlanned,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user