Targets was being dropped in data source nodes

This commit is contained in:
James Bardin 2020-06-10 15:36:44 -04:00
parent b861f5a4d7
commit 7022345b8f
1 changed files with 1 additions and 0 deletions

View File

@ -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,