website: correction of chunklist interpolation function example

This commit is contained in:
Benjamin Farley 2017-11-01 17:48:34 +00:00 committed by Martin Atkins
parent 505683dcd3
commit d6abdd14e7
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ 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"]`
* `list(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