Hi, I have created a new issue in github regarding...
# azure
r
Hi, I have created a new issue in github regarding pulumi destroy. If somebody here has any suggestions, please let let me know. https://github.com/pulumi/pulumi-azure/issues/724
m
Hi @rapid-oil-61997 Just a guess but could it be that you need to specify the DependsOn dependencies as you create the resources so that Pulumi knows what order to destroy them in?
r
@tall-librarian-49374 any comments on this is much appreciated.
t
Weren’t you able to do `
Copy code
SubnetId = virtualNetwork.Subnets[0].Id
?
Otherwise, the
DependsOn
suggestion should help as a workaround.
r
Thanks for your reply @tall-librarian-49374. Virtual network.subnets[0].Id was not working.. I can try the depends on property. Do you have any example for that?