mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Clarify how the ~> version constraint operator works (#31298)
* Clarify how the ~> version contraint operator works * add comma, clarify the actor * verbiage tweak * language cleanup from PR review Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com> * fix line length Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
126e493818
commit
ec4935ba5d
@ -247,7 +247,9 @@ A module intended to be used as the root of a configuration — that is, as the
|
||||
directory where you'd run `terraform apply` — should also specify the
|
||||
_maximum_ provider version it is intended to work with, to avoid accidental
|
||||
upgrades to incompatible new versions. The `~>` operator is a convenient
|
||||
shorthand for allowing only patch releases within a specific minor release:
|
||||
shorthand for allowing the rightmost component of a version to increment. The
|
||||
following example uses the operator to allow only patch releases within a
|
||||
specific minor release:
|
||||
|
||||
```hcl
|
||||
terraform {
|
||||
|
Loading…
Reference in New Issue
Block a user