How to use 'depends_on' with 'for_each' in terraform?
I've got a terraform plan that creates a number of resources in a for_each loop, and I need another resource to depend_on those first ones. How can I do it without having to explicitly list them? Here's the first resource…