Mastering Terraform Functions
String Functions chomp The chomp function removes any newline character sequence (either \n or \r\n) that appears at the very end of the given string. If the string does not end with a newline sequence, the function returns the string unchanged. Syntax: chomp(string) The string argument is the string you want to remove trailing newlines … Read more