https://pulumi.com logo
Title
w

wooden-caravan-96340

01/17/2023, 9:59 AM
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

melodic-tomato-39005

01/17/2023, 2:41 PM
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

wooden-caravan-96340

01/18/2023, 4:29 AM
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.