split - Functions - Configuration Language | Terraform | HashiCorp Developer

The split function produces a list by dividing a given string at all occurrences of a given separator.