Files
opentf/command
Martin Atkins 7ca592ac06 core: use ResourceProviderResolver to resolve providers
Previously the set of providers was fixed early on in the command package
processing. In order to be version-aware we need to defer this work until
later, so this interface exists so we can hold on to the possibly-many
versions of plugins we have available and then later, once we've finished
determining the provider dependencies, select the appropriate version of
each provider to produce the final set of providers to use.

This commit establishes the use of this new mechanism, and thus populates
the provider factory map with only the providers that result from the
dependency resolution process.

This disables support for internal provider plugins, though the
mechanisms for building and launching these are still here vestigially,
to be cleaned up in a subsequent commit.

This also adds a new awkward quirk to the "terraform import" workflow
where one can't import a resource from a provider that isn't already
mentioned (implicitly or explicitly) in config. We will do some UX work
in subsequent commits to make this behavior better.

This breaks many tests due to the change in interface, but to keep this
particular diff reasonably easy to read the test fixes are split into
a separate commit.
2017-06-09 14:03:59 -07:00
..
2015-04-29 13:07:13 -05:00
2017-01-26 14:33:49 -08:00
2017-01-26 14:33:49 -08:00
2017-04-12 13:57:22 -04:00
2017-01-26 14:33:49 -08:00
2017-02-24 18:32:59 -05:00
2017-02-24 18:32:59 -05:00
2017-04-01 17:09:21 -04:00
2017-04-27 02:10:04 +12:00
2017-01-26 14:33:49 -08:00
2017-04-01 17:09:21 -04:00
2017-04-01 17:09:21 -04:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-04-27 02:10:04 +12:00
2017-03-01 10:20:32 -05:00
2017-03-01 10:20:32 -05:00
2017-04-01 17:09:21 -04:00
2017-04-01 17:01:45 -04:00
2017-04-01 17:09:21 -04:00
2014-05-24 12:04:43 -07:00