Revert "mclarify specifying provider versions"

This reverts commit 397494daca.
This commit is contained in:
Judith Malnick 2021-05-28 14:34:05 -07:00
parent 397494daca
commit d7f6000118
1 changed files with 7 additions and 2 deletions

View File

@ -182,7 +182,7 @@ from their parents.
<a id="provider-versions"></a>
## `version` (Deprecated)
## `version`: An Older Way to Manage Provider Versions
[inpage-versions]: #provider-versions
@ -193,6 +193,11 @@ constraint in a provider configuration is only used if `required_providers`
does not include one for that provider.
**The `version` argument in provider configurations is deprecated.**
In Terraform 0.13 and later, always declare provider version constraints in
In Terraform 0.13 and later, version constraints should always be declared in
[the `required_providers` block](/docs/language/providers/requirements.html). The `version`
argument will be removed in a future version of Terraform.
-> **Note:** The `version` meta-argument made sense before Terraform 0.13, since
Terraform could only install providers that were distributed by HashiCorp. Now
that Terraform can install providers from multiple sources, it makes more sense
to keep version constraints and provider source addresses together.