Quiz 5 Question 16 of 20

A module uses for_each = toset(aws_subnet.private[*].id) to create route table associations. On a fresh environment, the plan fails with an error that for_each has dependencies that cannot be determined before apply. What is the best fix?

Select an answer to reveal the explanation.

Motivation