terraform/configs/testdata
Alisdair McDiarmid 45f7da9678 configs: Fix nested provider requirements bug
In a recent PR, we changed the provider requirements code to permit
per-module requirements gathering, to enhance the provider command
output. This had an incorrect implementation of recursive requirements
gathering for the normal case, which resulted in only depth-1 modules
being inspected.

This commit fixes the broken recursion and adds a grandchild module to
the unit tests as test coverage. This also demanded fixing the
testNestedModuleConfigFromDir helper function to cope with nested
modules in test configs.
2020-06-22 12:16:22 -04:00
..
config-build Standardise directory name for test data 2019-06-30 10:16:15 +02:00
dir-empty move IsEmptyDir to configs package 2019-07-18 13:07:10 -04:00
error-files configs: Hint for a misplaced top-level required_providers block 2020-04-06 09:24:23 -07:00
experiments experiments: a mechanism for opt-in experimental language features 2019-12-10 09:27:05 -08:00
invalid-files configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
invalid-modules configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
nested-errors ensure we record diagnostics from nested modules 2019-07-16 19:06:48 -04:00
provider-reqs configs: Fix nested provider requirements bug 2020-06-22 12:16:22 -04:00
providers-explicit-fqn addrs: ImpliedProviderForUnqualifiedType function 2020-04-06 09:24:23 -07:00
valid-files configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
valid-modules configs: Fix for resources with implied providers 2020-04-28 14:54:31 -04:00
warning-files configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00