I know that having a shortage of resources (such as Iron or Uranium) has an effect on units that require that resource. For example, if you have a Nuclear Submarine and -1 Uranium, that Submarine will have a negative combat modifier.
However, does a shortage of resources affect buildings that require that resource? For example, each Factory you construct requires 1 Coal. Now, I have no Coal in my territory. I've been trading with other civs and city-states to get Coal to build Factories. If I end one of these trading deals (and result in -X Coal), will my Factories output less Production?