opentofu/plugin
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
..
convert providers: Consistently use int64 for schema versions 2018-11-30 11:22:39 -08:00
discovery Bump installer protocol version to 5 and separate client and server protocol references 2019-01-16 15:07:57 -06:00
mock_proto build: Run "go generate" in modules mode 2019-02-06 11:19:44 -08:00
client.go enable Auto mTLS in go-plugin 2018-12-05 20:30:16 -05:00
grpc_provider_test.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
grpc_provider.go core: Allow legacy SDK to opt out of plan-time safety checks 2019-02-11 17:26:49 -08:00
grpc_provisioner_test.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
grpc_provisioner.go plugin: Establish our current plugin protocol as version 5 2018-11-19 09:56:41 -08:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
plugin.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00
resource_provider_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
resource_provider.go serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
resource_provisioner_test.go plugin: Fix tests 2018-10-16 19:14:11 -07:00
resource_provisioner.go serve the new version 5 grpc plugins 2018-10-16 18:58:49 -07:00
serve.go Bump installer protocol version to 5 and separate client and server protocol references 2019-01-16 15:07:57 -06:00
ui_input_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_input.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00