If a single k8s cluster has more than 1 loadbalancer attached where 1 is deleted and the other are modified and the modification fails, the deleted loadbalancer infrastructure will not get deleted, as the current state will be overwritten by the "failed" desired state.
Expected Behaviour
We should handle this edge case gracefully, where all the infra will be deleted correcly.
Steps To Reproduce
Create a k8s cluster with multiple Loadbalancers attached to it.
Delete one loadbalancer, modify the others.
While the modification is ongoing, you can kill terraformer, to "simulate" the failure of the terraformer step.
The current state will be overwritten by the state which failed, and the Loadbalancers that were supposed to be deleted will be dangling as they were not part of the desired state that was build.
Current Behaviour
If a single k8s cluster has more than 1 loadbalancer attached where 1 is deleted and the other are modified and the modification fails, the deleted loadbalancer infrastructure will not get deleted, as the current state will be overwritten by the "failed" desired state.
Expected Behaviour
We should handle this edge case gracefully, where all the infra will be deleted correcly.
Steps To Reproduce