Headline inflation rose 0.9% last month, driven by the sharp rise in energy costs due to the Iran war.