microsoft / vscode-azurevirtualmachines

Azure Virtual Machines extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurevirtualmachines
MIT License
32 stars 20 forks source link

SSH keys are created even when the VM fails to create #23

Open fiveisprime opened 4 years ago

fiveisprime commented 4 years ago

I had a couple of failed creations because the size wasn't available and I noticed that my Linux SSH directory looks like this now

image

Only one of those VMs was successfully created.

fiveisprime commented 4 years ago

Okay, I just checked and it doesn't look like anything is rolled back on failure. I see the IP, network SG, vnet, NRMS policy, and NIC from the failed creations in my resource group.

Should probably roll those back, but I don't think this is a blacker since those don't have a price impact.