github.com/rstandt/terraform@v0.12.32-0.20230710220336-b1063613405c/website/docs/configuration/functions/concat.html.md (about)

     1  ---
     2  layout: "functions"
     3  page_title: "concat - Functions - Configuration Language"
     4  sidebar_current: "docs-funcs-collection-concat"
     5  description: |-
     6    The concat function combines two or more lists into a single list.
     7  ---
     8  
     9  # `concat` Function
    10  
    11  -> **Note:** This page is about Terraform 0.12 and later. For Terraform 0.11 and
    12  earlier, see
    13  [0.11 Configuration Language: Interpolation Syntax](../../configuration-0-11/interpolation.html).
    14  
    15  `concat` takes two or more lists and combines them into a single list.
    16  
    17  ## Examples
    18  
    19  ```
    20  > concat(["a", ""], ["b", "c"])
    21  [
    22    "a",
    23    "",
    24    "b",
    25    "c",
    26  ]
    27  ```