Skip to content

Commit

Permalink
Update conditionals.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
reddynn authored Nov 29, 2024
1 parent 19f3efa commit f6a8f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/language/expressions/conditionals.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ A common use of conditional expressions is to define defaults to replace
invalid values:

```hcl
var.a == "" ? var.a : "default-a"
var.a == "" ? "default-a" : var.a
```

If `var.a` is an empty string then the result is `"default-a"`, but otherwise
Expand Down

0 comments on commit f6a8f51

Please sign in to comment.