mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
core: attach provisioner schemas in subgraphs
DynamicExpand also needs to add the provisioner schemas to make sure all references are found in the subgraph.
This commit is contained in:
parent
059de66fcc
commit
6eb897e293
@ -45,6 +45,7 @@ func (n *NodePlannableResource) DynamicExpand(ctx EvalContext) (*Graph, error) {
|
||||
a.Config = n.Config
|
||||
a.ResolvedProvider = n.ResolvedProvider
|
||||
a.Schema = n.Schema
|
||||
a.ProvisionerSchemas = n.ProvisionerSchemas
|
||||
|
||||
return &NodePlannableResourceInstance{
|
||||
NodeAbstractResourceInstance: a,
|
||||
@ -57,6 +58,7 @@ func (n *NodePlannableResource) DynamicExpand(ctx EvalContext) (*Graph, error) {
|
||||
a.Config = n.Config
|
||||
a.ResolvedProvider = n.ResolvedProvider
|
||||
a.Schema = n.Schema
|
||||
a.ProvisionerSchemas = n.ProvisionerSchemas
|
||||
|
||||
return &NodePlannableResourceInstanceOrphan{
|
||||
NodeAbstractResourceInstance: a,
|
||||
|
Loading…
Reference in New Issue
Block a user