User password being reset to initial password with Terraform

Hi,
I am creating users with Terraform. The idea is to create the user with a random unknown password and then they receive a reset password email via an Action which all works.

The problem is when the next Terraform deploy kicks off, it is updating the user’s password back to the initial random password.

Has anyone used Terraform to manage their users and solved this issue?

Thanks