What is for_each in Terraform and how to use it ?
Terraform allows you to iterate through a map or a set using the for_each meta-argument.
This is useful when you want multiple similar resources, but don't want to duplicate the resource block which can cause difficulty in maintaining the code.
For_...
ritushinde.hashnode.dev2 min read