diff --git a/terraform/node_data_refresh.go b/terraform/node_data_refresh.go index 135bcb2a2..4f2fd902c 100644 --- a/terraform/node_data_refresh.go +++ b/terraform/node_data_refresh.go @@ -123,6 +123,7 @@ func (n *NodeRefreshableDataResource) DynamicExpand(ctx EvalContext) (*Graph, er a.ProviderMetas = n.ProviderMetas a.dependsOn = n.dependsOn a.forceDependsOn = n.forceDependsOn + a.Targets = n.Targets return &NodeRefreshableDataResourceInstance{ NodeAbstractResourceInstance: a,