terraform/command/testdata/init-get-provider-detected-...
Alisdair McDiarmid 9263b28e99 command/init: Improve diags for legacy providers
When initializing a configuration which refers to re-namespaced legacy
providers, we attempt to detect this and display a diagnostic message.
Previously this message would direct the user to run the 0.13upgrade
command, but without specifying in which directories.

This commit detects which modules are using the providers in question,
and for local modules displays a list of upgrade commands which specify
the source directories of these modules.

For remote modules, we display a separate list noting that they need to
be upgraded elsewhere, providing both the local module call name and the
module source address.
2020-06-12 09:57:01 -04:00
..
.terraform/modules command/init: Improve diags for legacy providers 2020-06-12 09:57:01 -04:00
child command/init: Improve diags for legacy providers 2020-06-12 09:57:01 -04:00
main.tf command/init: Improve diags for legacy providers 2020-06-12 09:57:01 -04:00