1 | initial version |
Yes, if the foreach is empty, then no resources will be created dynamically and any existing resources created with that foreach will be destroyed. Therefore, any dynamic resources associated with that for_each should also be disregarded.