Alisdair McDiarmid
7cae76383a
cli: Fix for provider requirements in JSON plan
...
The JSON plan output format includes a serialized, simplified version of
the configuration. One component of this config is a map of provider
configurations, which includes version constraints.
Until now, only version constraints specified in the provider config
blocks were exposed in the JSON plan output. This is a deprecated method
of specifying provider versions, and the recommended use of a
required_providers block resulted in the version constraints being
omitted.
This commit fixes this with two changes:
- When processing the provider configurations from a module, output the
fully-merged version constraints for the entire module, instead of any
constraints set in the provider configuration block itself;
- After all provider configurations are processed, iterate over the
required_providers entries to ensure that any configuration-less
providers are output to the JSON plan too.
No changes are necessary to the structure of the JSON plan output, so
this is effectively a semantic level bug fix.
2021-02-05 14:01:58 -05:00
..
2020-05-07 15:45:48 -04:00
2020-06-11 14:10:47 -04:00
2020-05-07 15:45:48 -04:00
2021-01-22 12:22:21 -08:00
2020-06-11 14:10:47 -04:00
2020-05-07 20:11:44 -04:00
2020-05-07 15:45:48 -04:00
2020-05-07 11:38:55 -04:00
2020-06-24 15:54:46 -04:00
2021-01-22 12:22:21 -08:00
2020-08-31 14:53:35 -04:00
2020-08-31 14:53:35 -04:00
2020-05-07 15:45:48 -04:00
2020-05-07 15:45:48 -04:00
2020-05-07 15:45:48 -04:00
2020-05-07 15:45:48 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-08-07 14:13:57 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-01-07 15:07:06 -05:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2019-06-30 10:16:15 +02:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2019-06-30 10:16:15 +02:00
2020-09-30 16:07:54 -04:00
2019-06-30 10:16:15 +02:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2020-09-30 16:07:54 -04:00
2019-06-30 10:16:15 +02:00
2020-11-18 11:59:10 -05:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-08-17 17:14:12 -04:00
2020-06-12 15:39:55 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-02-12 14:00:08 -05:00
2019-06-30 10:16:15 +02:00
2020-02-14 14:48:30 -05:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-08-21 16:21:13 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-08-18 09:35:32 -04:00
2019-06-30 10:16:15 +02:00
2020-06-12 09:57:01 -04:00
2020-07-07 15:20:20 -04:00
2020-09-01 14:02:19 -04:00
2020-05-25 16:50:12 -04:00
2020-06-12 08:45:14 -07:00
2019-06-30 10:16:15 +02:00
2020-04-06 09:24:23 -07:00
2020-10-14 07:53:41 -07:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-04-16 15:54:33 -04:00
2019-06-30 10:16:15 +02:00
2020-05-05 09:58:48 -07:00
2020-02-04 17:24:25 -05:00
2020-04-30 09:21:42 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-06-09 14:21:53 -04:00
2020-09-22 10:28:32 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2021-02-05 14:01:58 -05:00
2020-10-28 15:30:04 -04:00
2020-02-13 15:32:58 -05:00
2020-02-13 15:32:58 -05:00
2020-12-14 11:07:15 -05:00
2019-06-30 10:16:15 +02:00
2020-09-30 16:07:54 -04:00
2019-06-30 10:16:15 +02:00
2019-06-30 10:16:15 +02:00
2020-02-13 15:32:58 -05:00
2019-06-30 10:16:15 +02:00
2020-09-22 17:33:09 -04:00
2020-12-11 13:09:25 -05:00
2020-12-11 13:09:25 -05:00
2020-10-08 11:22:20 -04:00
2019-06-30 10:16:15 +02:00
2020-08-11 11:43:01 -04:00