9 ms·
Agree with pretty much every point in the blog. I would add to the list the fact that for_each cannot be used with pre-computed values. So if you have a modul
by m1keil 6y ago
Agree with pretty much every point in the blog.
I would add to the list the fact that for_each cannot be used with pre-computed values.
So if you have a module/resource that outputs a list of resources, you can't just plug it into another resource and use for_each to iterate on.
I also think that using multiple state files is the only way to keep the config from being too fragile. Which is another point in which Terraform provides very little help and why Terragrunt is a popular combo.