How to remove new line from a string in terraform?

You can use terraform chomp() function to remove a newline character from a string.

Open terraform console

Remove newline from a string in terraform

Leave a Reply