concept
Collections and structural types
Lists, sets and maps share an element type; tuples describe positions and objects describe named attributes. Literal brackets and braces create tuples and objects, with conversions in typed contexts. Sets do not preserve positional order.
Formal Syntax & Structure
terraform syntaxterraform
Collections and structural typesWorking Example
Example Snippetterraform
type(tolist(["web", "api"]))# Console only; expected list(string).