Closed patrislav closed 3 years ago
This PR adds the child module support to the Terraform plan schema. It splits the Plan.extractQueries method into two:
Plan.extractQueries
extractModuleConfiguration
resourceProviders
extractModuleQueries
Closes #37.
Rebased, added a Changelog entry and pushed a fixup regarding the usage of fmt.Sprintf
fmt.Sprintf
Rebased
This PR adds the child module support to the Terraform plan schema. It splits the
Plan.extractQueries
method into two:extractModuleConfiguration
- fills theresourceProviders
map by recursively calling itself for each descendant of the root moduleextractModuleQueries
- returns a list of resource queries by recursively calling itself for each descendant of the root moduleCloses #37.