How to remove a specified set of characters from the start and end of the given string in terraform?

You can use terraform trim() function to remove a specified set of characters from the start and end of the given string.

Syntax: trim(string, str_character_set)

Open terraform console

Remove a specified set of characters from the start and end of the given string in terraform

Leave a Reply