On the document for for_each it says
for_eachmeta-argument accepts a map or a set of strings, and creates an instance for each item in that map or set. Each instance has a distinct infrastructure object associated with it (as described above in Resource Behavior), and each is separately created, updated, or destroyed when the configuration is applied.
Is there a way to convert a list(number) to list(string).
Even if I declare a variable. as type list(string) and pass in a list of numbers (ports for example), it seems that it still knows that it’s a list of numbers and fails.