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. |
||
---|---|---|
.. | ||
test-fixtures | ||
find.go | ||
find_test.go | ||
get.go | ||
get_test.go | ||
meta.go | ||
meta_set.go | ||
meta_set_test.go | ||
meta_test.go | ||
requirements.go | ||
requirements_test.go | ||
version.go | ||
version_set.go | ||
version_set_test.go | ||
version_test.go |