7
Decluttering your Terraform code using for_each
(jrpospos.blog)
I wish they had for_each from the beginning. I've got so many configs that depend on count because as terrible and rudimentary as it was it was the only looping mechanism available.
Discuss about Terraform and OpenTofu (an open Terraform fork).