Destroy steps for istio
pattern is timing out and failing due to VPC depency errors
#1843
Closed
1 task done
Description
The AWS Load Balancer Controller add-on asynchronously reconciles resource deletions.
During stack destruction, the istio ingress resource and the load balancer controller
add-on are deleted in quick succession, preventing the removal of some of the AWS
resources associated with the ingress gateway load balancer like, the frontend and the
backend security groups.
This causes the final
terraform destroy -auto-approve
command to timeout and fail with VPC dependency errors like below:Versions
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behaviour
The stack should be successfully destroyed. The expected terminal output should look like below:
Actual behaviour
The final
terraform destroy -auto-approve
command times out and fails with VPC dependency errors like below:Additional context
There should be a delay between deletion of
istio-ingress
andaws-load-balancer-controller
to allow the controller time to delete the security groups.Possible workarounds:
A possible workaround is to manually uninstall the
istio-ingress
helm chart before executing the steps in Destroy.Once the chart is uninstalled move on to destroy the stack.
The text was updated successfully, but these errors were encountered: