terraform/plugin
Martin Atkins 4ba20f9c1c command init: show suggested constraints for unconstrained providers
When running "terraform init" with providers that are unconstrained, we
will now produce information to help the user update configuration to
constrain for the particular providers that were chosen, to prevent
inadvertently drifting onto a newer major release that might contain
breaking changes.

A ~> constraint is used here because pinning to a single specific version
is expected to create dependency hell when using child modules. By using
this constraint mode, which allows minor version upgrades, we avoid the
need for users to constantly adjust version constraints across many
modules, but make major version upgrades still be opt-in.

Any constraint at all in the configuration will prevent the display of
these suggestions, so users are free to use stronger or weaker constraints
if desired, ignoring the recommendation.
2017-06-09 14:03:59 -07:00
..
discovery command init: show suggested constraints for unconstrained providers 2017-06-09 14:03:59 -07:00
client.go plugin: move Client function into plugin, from plugin/discovery 2017-06-09 14:03:59 -07:00
plugin.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provider_test.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provisioner.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
resource_provisioner_test.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.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_input_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
ui_output_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00