opentofu/internal/tfplugin5
Martin Atkins 31299e688d core: Allow legacy SDK to opt out of plan-time safety checks
Due to the inprecision of our shimming from the legacy SDK type system to
the new Terraform Core type system, the legacy SDK produces a number of
inconsistencies that produce only minor quirky behavior or broken
edge-cases. To retain compatibility with those existing weird behaviors,
the legacy SDK opts out of our safety checks.

The intent here is to allow existing providers to continue to do their
previous unsafe behaviors for now, accepting that this will allow certain
quirky bugs from previous releases to persist, and then gradually migrate
away from the legacy SDK and remove this opt-out on a per-resource basis
over time.

As with the apply-time safety check opt-out, this is reserved only for
the legacy SDK and must not be used in any new SDK implementations. We
still include any inconsistencies as warnings in the logs as an aid to
anyone debugging weird behavior, so that they can see situations where
blame may be misplaced in the user-visible error messages.
2019-02-11 17:26:49 -08:00
..
generate.sh plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
tfplugin5.pb.go core: Allow legacy SDK to opt out of plan-time safety checks 2019-02-11 17:26:49 -08:00
tfplugin5.proto core: Allow legacy SDK to opt out of plan-time safety checks 2019-02-11 17:26:49 -08:00