title: Terraform Azure VM SSH Key
body: <p>I am new at Terraform and would like some help. I have successfully created a VM and can manually SSH into it with no problem. The issue is I am working with a team on a project and they can't do any changes to the Tf files without making Terraform delete all the resources and recreating them. I think this is because they have a different SSH Key from mines.</p>
  <pre><code>admin_ssh_key {
     username = &quot;azureroot&quot;
     public_key = file(&quot;~/.ssh/id_rsa.pub&quot;)}
  </code></pre>
  <p>Because the contents of my ssh key is different from my teammates, it will destroy the VM and recreate it using the key from the person who did the terraform apply. Is there any way to get around this? This has caused many issues because we have had multiple vms destroyed because of the keys were different.</p>