Ask Your Question

Revision history [back]

click to hide/show revision 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.