mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-19 17:59:05 -05:00
Update docs and add warning for -get-plugins
As of Terraform 0.13+, the get-plugins command has been superceded by new provider installation mechanisms, and general philosophy (providers are always installed, but the sources may be customized). Updat the init command to give users a warning if they are setting this flag, to encourage them to remove it from their workflow, and update relevant docs and docstrings as well
This commit is contained in:
@@ -171,9 +171,7 @@ Therefore if automatic installation is not desired, it is important to ensure
|
||||
that version constraints within Terraform configurations do not exclude all
|
||||
of the versions available from the bundle. If a suitable version cannot be
|
||||
found in the bundle, Terraform _will_ attempt to satisfy that dependency by
|
||||
automatic installation from the official repository. If you want
|
||||
`terraform init` to explicitly fail instead of contacting the repository, pass
|
||||
the `-get-plugins=false` option.
|
||||
automatic installation from the official repository.
|
||||
|
||||
For full details about provider resolution, see
|
||||
[How Terraform Works: Plugin Discovery](https://www.terraform.io/docs/extend/how-terraform-works.html#discovery).
|
||||
|
||||
Reference in New Issue
Block a user