Version 1.9.0 of OpenTofu introduces important features like provider iteration via for_each and the -exclude flag, enhancing multi-zone deployments and resource management.
The for_each meta-argument allows users to create an instance for each item in a map or set of strings, fostering more efficient resource management.
The new -exclude flag is designed to skip specific resources during plan or apply operations, addressing a highly requested feature from users.
Matt Gowie emphasizes that while for_each can be a powerful addition, users must be cautious to avoid complications that could arise from its misuse.
Collection
[
|
...
]