Hello! After the failed creation of VM, i cannot d...
# general
w
Hello! After the failed creation of VM, i cannot delete the stack but wait 180 seconds. Is there any way to resolve this issue, or is it azure specific thing? Help would be much appreciated!
azure-native:network:NetworkInterface (network-interface):
error: Code="NicReservedForAnotherVm" Message="Nic(s) in request is reserved for another Virtual Machine for 180 seconds. Please provide another nic(s) or retry after 180 seconds.
m
It could be that Pulumi’s state drifted from Azure’s.
pulumi refresh
will help in this case. What does the Azure portal say about the VM?
w
It was invalid username that caused the failed VM creation. We are trying out Automation API, so need the stacks to be continuously deleted and created, and this kind of error slows things a lot. I'll see if
refresh
helps, thanks.