terraform/internal
Martin Atkins 1530fe52f7 core: Legacy SDK providers opt out of our new apply result check
The shim layer for the legacy SDK type system is not precise enough to
guarantee it will produce identical results between plan and apply. In
particular, values that are null during plan will often become zero-valued
during apply.

To avoid breaking those existing providers while still allowing us to
introduce this check in the future, we'll introduce a rather-hacky new
flag that allows the legacy SDK to signal that it is the legacy SDK and
thus disable the check.

Once we start phasing out the legacy SDK in favor of one that natively
understands our new type system, we can stop setting this flag and thus
get the additional safety of this check without breaking any
previously-released providers.

No other SDK is permitted to set this flag, and we will remove it if we
ever introduce protocol version 6 in future, assuming that any provider
supporting that protocol will always produce consistent results.
2019-02-06 11:40:30 -08:00
..
earlyconfig command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
initwd command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
modsdir Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
tfplugin5 core: Legacy SDK providers opt out of our new apply result check 2019-02-06 11:40:30 -08:00