Hi, I'm configuring API Gateway and I've got to the point where it creates all of the resources, methods & integrations, then triggers a redeployment when any of these change and recreates a stage. The problem I'm having is if I remove a route from my config the deployment is replaced before the relevant resource, method & integration is deleted, so the resultant stage still has the deleted routes available.
Is there a way that I'm missing to force pulumi to delete existing resources first before applying create & replacements? Thanks