opentofu/plugin
Martin Atkins 183833affc core: terraform.ResourceProvider.GetSchema method
In order to parse provider, resource and data source configuration from
HCL2 config files, we need to know the relevant configuration schema.
This new method allows Terraform Core to request these from a provider.

This is a breaking change to this interface, so all of its implementers
in this package are updated too. This includes concrete implementations
of the new method in helper/schema that use the schema conversion code
added in an earlier commit to produce a configschema.Block automatically.

Plugins compiled against prior versions of helper/schema will not have
support for this method, and so calls to them will fail. Callers of
this new method will therefore need to sniff for support using the
SchemaAvailable field added to both ResourceType and DataSource.

This careful handling will need to persist until next time we increment
the plugin protocol version, at which point we can make the breaking
change of requiring this information to be available.
2017-10-17 07:23:41 -07:00
..
discovery plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
client.go specify a logger for go-plugin 2017-08-15 14:34:04 -04:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
plugin.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider_test.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provider.go core: terraform.ResourceProvider.GetSchema method 2017-10-17 07:23:41 -07:00
resource_provisioner_test.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
resource_provisioner.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
serve.go plugin: bump protocol version 2017-03-01 14:42:33 -08: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