This message was deleted.
# general
s
This message was deleted.
d
Not sure if this is the cause or not, but you may need to add a
depends on
to your VM referencing the NIC, or mark the NIC to be destroyed with the VM as Azure gets finicky with order of operations when it comes to destroying resources. Also, it could be that without the dependency link, Pulumi is doing something similar to Terraform in that it is not following the order the resources are listed when doing the creation, and since the NIC is not actually required to create the VM, it may be that the VM is created then the NIC attached once it is created,
m
How mark the NIC destroys with the VM?