terraform/configs/testdata
Alisdair McDiarmid 18f9ea53b9 command: Providers schema shows required_providers
The providers schema command is using the Config.ProviderTypes method,
which had not been kept up to date with the changes to provider
requirements detection made in Config.ProviderRequirements. This
resulted in any currently-unused providers being omitted from the
output.

This commit changes the ProviderTypes method to use the same underlying
logic as ProviderRequirements, which ensures that `required_providers`
blocks are taken into account.

Includes an integration test case to verify that this fixes the provider
schemas command bug.
2020-09-22 10:28:32 -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 addrs: Disallow provider source addresses starting with terraform- 2020-07-08 10:18:55 -07:00
experiments experiments: a mechanism for opt-in experimental language features 2019-12-10 09:27:05 -08:00
invalid-files configs: prevent panic with invalid type name (#25562) 2020-07-13 09:47:16 -04: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 command: Providers schema shows required_providers 2020-09-22 10:28:32 -04:00
valid-modules configs: include "providers" when overriding modules (#25496) 2020-08-11 11:46:40 -04:00
warning-files Merge pull request #26105 from hashicorp/alisdair/more-interpolation-only-expression-deprecations 2020-09-16 16:06:45 -04:00