How to use the Terraform join and split functions

Jack Roper
Spacelift
Published in
4 min readJun 28, 2022

--

The Hashicorp Configuration Language (HCL) that Terraform employs utilizes a number of beneficial built-in functions. These functions can be used to manipulate and transform values within a given expression. In this post, we will take a look at the operation of the join function and its counterpart, the split function for use with Strings.

What is a built-in function?

--

--

Jack Roper
Spacelift

A blog about DevOps & Cloud Tech. Specializing in Terraform, Kubernetes, Azure & Azure DevOps! ☁️