terraform/configs/testdata/valid-files
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
..
backend.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
data-sources.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
empty.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00
locals.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
locals.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00
outputs.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
provider-configs.tf configs: deprecate version argument inside provider configuration blocks (#26135) 2020-09-08 08:19:00 -04:00
providers-explicit-implied.tf command: Providers schema shows required_providers 2020-09-22 10:28:32 -04:00
references.tf.json configs: Warn for deprecated interpolation and quoted type constraints 2019-11-13 07:55:55 -08:00
required-providers.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
required-version.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resources-ignorechanges-all.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resources-ignorechanges-all.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resources.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
variable_validation.tf configs: Custom variable validation is no longer experimental 2020-05-28 16:07:59 -07:00
variables.tf Standardise directory name for test data 2019-06-30 10:16:15 +02:00
variables.tf.json Standardise directory name for test data 2019-06-30 10:16:15 +02:00