mirror of
https://github.com/hashicorp/terraform.git
synced 2026-05-28 04:03:27 -04:00
Update version-constraints.mdx (#36565)
Slight changes in docs: 1.1 => ~> 1.1
This commit is contained in:
parent
d101448fe5
commit
ea140f6dc8
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ The following table describes the operators you can use to configure version con
|
|||
| `=`, <br/>no operator | Allows only one exact version number. Cannot be combined with other conditions. |
|
||||
| `!=` | Excludes an exact version number. |
|
||||
| `>`,<br/> `>=`,<br/> `<`,<br/> `<=` | Compares to a specified version. Terraform allows versions that resolve to `true`. The `>` and `>=` operators request newer versions. The `<` and `<=` operators request older versions. |
|
||||
| `~>` | Allows only the right-most version component to increment. Examples: <ul><li>`~> 1.0.4`: Allows Terraform to install `1.0.5` and `1.0.10` but not `1.1.0`.</li><li>`1.1`: Allows Terraform to install `1.2` and `1.10` but not `2.0`. </li></ul>|
|
||||
| `~>` | Allows only the right-most version component to increment. Examples: <ul><li>`~> 1.0.4`: Allows Terraform to install `1.0.5` and `1.0.10` but not `1.1.0`.</li><li>`~> 1.1`: Allows Terraform to install `1.2` and `1.10` but not `2.0`. </li></ul>|
|
||||
|
||||
## Version constraint behavior
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue