Automate creation of Windows username & password using Terraform

I’m looking towards automating creation of Windows username and password using Terraform in GCP environment.

I used random_password resource in Terraform for password generation but not sure on how to use it along with user creation.

resource "random_password" "password" {
  length  = 16
  special = true
}

Can anyone help me in this regard ?