Skip to content

Commit

Permalink
Merge pull request #35364 from sehyod/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect example in the docs
  • Loading branch information
crw committed Jun 24, 2024
2 parents 5046377 + 67d285b commit af498dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/language/expressions/operators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ Terraform does not have an operator for the "exclusive OR" operation. If you
know that both operators are boolean values then exclusive OR is equivalent
to the `!=` ("not equal") operator.

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.
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 comments on commit af498dd

Please sign in to comment.