How to split a string into a list of strings in terraform?

You can use terraform split() function to split a string into multiple list of strings in terraform. split() produces a list by dividing a given string at all occurrences of a given separator.

Syntax: split(separator, string)

Open terraform console

Split a string into multiple list of strings in terraform

Leave a Reply