How to remove duplicate values from a list in terraform?
You can use terraform distinct() to remove duplicate elements from a list. distinct() takes a list and returns a new list with any duplicate elements removed. Syntax: distinct(list) Example: [crayon-627ecfaabecdf031751723/]