Merge pull request #959 from hashicorp/d-clarify-operator-equality
Document operator equality
This commit is contained in:
commit
a784a78758
|
@ -355,7 +355,10 @@ The `constraint` object supports the following keys:
|
||||||
|
|
||||||
* `operator` - Specifies the comparison operator. Defaults to equality,
|
* `operator` - Specifies the comparison operator. Defaults to equality,
|
||||||
and can be `=`, `==`, `is`, `!=`, `not`, `>`, `>=`, `<`, `<=`. The
|
and can be `=`, `==`, `is`, `!=`, `not`, `>`, `>=`, `<`, `<=`. The
|
||||||
ordering is compared lexically.
|
ordering is compared lexically. The following are equivalent:
|
||||||
|
|
||||||
|
* `=`, `==` and `is`
|
||||||
|
* `!=` and `not`
|
||||||
|
|
||||||
* `value` - Specifies the value to compare the attribute against.
|
* `value` - Specifies the value to compare the attribute against.
|
||||||
This can be a literal value or another attribute.
|
This can be a literal value or another attribute.
|
||||||
|
|
Loading…
Reference in a new issue