Just putting all the resources in it isn’t enough. Right after that the water pump needs to be connected to the generator. You place the generator in the settlement's build mode, just like the cable.