website: fix "contains" interpolation example

This commit is contained in:
Aleksejs Sinicins 2017-10-17 17:25:09 +03:00 committed by Martin Atkins
parent 183833affc
commit ece099f453
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ The supported built-in functions are:
Example: `concat(aws_instance.db.*.tags.Name, aws_instance.web.*.tags.Name)` Example: `concat(aws_instance.db.*.tags.Name, aws_instance.web.*.tags.Name)`
* `contains(list, element)` - Returns *true* if a list contains the given element * `contains(list, element)` - Returns *true* if a list contains the given element
and returns *false* otherwise. Examples: `element(var.list_of_strings, "an_element")` and returns *false* otherwise. Examples: `contains(var.list_of_strings, "an_element")`
* `dirname(path)` - Returns all but the last element of path, typically the path's directory. * `dirname(path)` - Returns all but the last element of path, typically the path's directory.