The OpenTofu LanguageBuilt-in FunctionschunklistOn this pagechunklist Function chunklist splits a single list into fixed-size chunks, returning a list of lists. Code Blockchunklist(list, chunk_size) Examples Code Block> chunklist(["a", "b", "c", "d", "e"], 2)[ [ "a", "b", ], [ "c", "d", ], [ "e", ],]> chunklist(["a", "b", "c", "d", "e"], 1)[ [ "a", ], [ "b", ], [ "c", ], [ "d", ], [ "e", ],]