Quiz 1 Question 17 of 20

A module takes variable buckets of type list(string) and a resource uses for_each = var.buckets. terraform plan fails because for_each received a list. What is the correct fix?

Select an answer to reveal the explanation.

Motivation