quickstart-amazon-eks-cluster-resource-provider icon indicating copy to clipboard operation
quickstart-amazon-eks-cluster-resource-provider copied to clipboard

Network interfaces not deleted upon stack deletion

Open TheNomet opened this issue 3 years ago • 1 comments

Hi! I have experienced an issue related to stack deletion after the cluster is created. The network interfaces that are created for the lambda responsible to attach the cluster to the VPC are not deleted. This means that when I am trying to delete the stack in which the role used for the creation of the cluster is defined, it is not possible to delete the role (and the stack deletion fails). image

My setup:

  • S1 (Stack 1): defines a ClusterRole as well as additional resources
  • S2 (Stack 2): created the cluster using AWSQS::EKS::Cluster and the ClusterRole in S1

During deletion:

  • Delete S2 (all is good)
  • Delete S1: it is not possible to delete ClusterRole, since there are the three network interfaces still attached and in use.

Thank you in advance!

TheNomet avatar Nov 15 '21 13:11 TheNomet