Skip to content

Commit af498dd

Browse files
authored
Merge pull request #35364 from sehyod/patch-1
Fix incorrect example in the docs
2 parents 5046377 + 67d285b commit af498dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/language/expressions/operators.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,4 @@ Terraform does not have an operator for the "exclusive OR" operation. If you
104104
know that both operators are boolean values then exclusive OR is equivalent
105105
to the `!=` ("not equal") operator.
106106

107-
The logical operators in Terraform do not short-circuit, meaning `var.foo || var.foo.bar` will produce an error message if `var.foo` is `null` because both `var.foo` and `var.foo.bar` are evaluated.
107+
The logical operators in Terraform do not short-circuit, meaning `var.foo && var.foo.bar` will produce an error message if `var.foo` is `null` because both `var.foo` and `var.foo.bar` are evaluated.

0 commit comments

Comments
 (0)