website: fix incorrect examples for the chunklist function

This commit is contained in:
Jordi Pàmies 2017-11-17 01:07:44 +01:00 committed by Martin Atkins
parent 8c7ed01416
commit 6786c1361f
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ The supported built-in functions are:
* `chunklist(list, size)` - Returns the `list` items chunked by `size`.
Examples:
* `list(aws_subnet.foo.*.id, 1)`: will outputs `[["id1"], ["id2"], ["id3"]]`
* `list(var.list_of_strings, 2)`: will outputs `[["id1", "id2"], ["id3", "id4"], ["id5"]]`
* `chunklist(aws_subnet.foo.*.id, 1)`: will outputs `[["id1"], ["id2"], ["id3"]]`
* `chunklist(var.list_of_strings, 2)`: will outputs `[["id1", "id2"], ["id3", "id4"], ["id5"]]`
* `file(path)` - Reads the contents of a file into the string. Variables
in this file are _not_ interpolated. The contents of the file are