diff --git a/website/docs/language/expressions/custom-conditions.mdx b/website/docs/language/expressions/custom-conditions.mdx index 449831b411..6a3a3d3603 100644 --- a/website/docs/language/expressions/custom-conditions.mdx +++ b/website/docs/language/expressions/custom-conditions.mdx @@ -255,7 +255,8 @@ You can also use `can` with attribute access or index operators to test whether ```hcl # var.example must have an attribute named "foo" - condition = can(var.example.foo) ``` + condition = can(var.example.foo) +``` ```hcl # var.example must be a sequence with at least one element