4ba20f9c1c
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. |
||
---|---|---|
.. | ||
discovery | ||
client.go | ||
plugin.go | ||
plugin_test.go | ||
resource_provider.go | ||
resource_provider_test.go | ||
resource_provisioner.go | ||
resource_provisioner_test.go | ||
serve.go | ||
ui_input.go | ||
ui_input_test.go | ||
ui_output.go | ||
ui_output_test.go |