@maswan and I wrote a paper in which we develop a detailed model for the LCA of HPC centres, including embodied carbon, server replacement and expansion. It is also applicable to other data centres. We also share the source code.
It shows how important embodied carbon becomes when the grid has more renewables.