terraform · terraform/invalid_for_each_argument
invalid_for_each_argument
Invalid for_each argument
The value supplied to the for_each meta-argument is not a map or set of strings, or it cannot be determined until apply time. The collection must be fully known at plan time; use toset() or tomap() conversion functions as needed.