Change hardware configuration of existing DB in azure

HI Team,

We have already deployed a DB in azure with h/w config “GP_S_Gen5_4”. How can we change the config to “GP_S_Gen5_6” without creating a new DB using terraform in devops.