Updating azure postgresql admin password

How can we rotate azure postgresql admin password within terraform.

Is it fine to update parameter administrator_login_password in the resource azurerm_postgresql_server?

Its good idea or any other ways