How to add identity id to existing azure automation account using terraform?

How to add user assigned identity id to an existing azure automation account using terraform.

Can someone share the script please. Would be grateful. Thank you?