Spare parts, infrastructure, training and TDP/IP aren't discretionary, they just aren't normally reported as part of the ship costs by other countries when they do press releases.
Some countries, like the US, frequently provide a lot of equipment as 'GSM' and is why some of their really expensive ships look really cheap. If you have the combat suite on a completely different project, it looks good.
Don't take my word on it, read the AG report where they tried to compare AOPs and SValbard costs in 2017 ish; they basically admitted it was impossible to do in an apples to apples way and gave up.