When I run pulumi up for the first time it goes fine, but when I try again without any changes, I am getting the following error:
error: Code="InUseSubnetCannotBeDeleted" Message="Subnet functions is in use by ***virtualNetworks/***/subnets/functions/serviceAssociationLinks/AppServiceLink and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet." Details=
Any suggestion is greatly appreciated!
07/01/2021, 7:17 AM
I know nothing about azure but you kind of get the same in AWS for resources that are in use, you can't force delete them as they are attached to instances. you need to (probably manually) delete all the things attached to the subnets first.
07/01/2021, 9:07 PM
Nothing should be deleted if the code hasn't changed... we'll need to see some code to see what's going wrong.