Closed t0yv0 closed 1 week ago
In certain configurations pulumi destroy fails to delete the eks.Cluster with an error message resembling the following:
pulumi destroy
aws:ec2:SecurityGroup (example-cluster-py-3-nodeSecurityGroup): error: deleting urn:pulumi:p-it-fv-az1210--cluster-py-37ea6979::example-cluster-py::eks:index:Cluster$aws:ec2/securityGroup:SecurityGroup::example-cluster-py-3-nodeSecurityGroup: 1 error occurred: * deleting Security Group (sg-0e8b6d9244b79c723): DependencyViolation: resource sg-0e8b6d9244b79c723 has a dependent object status code: 400, request id: 1b401e09-4dda-4402-8a4e-95c43e03dbec
The workaround is to retry the operation at a later time.
The issue surfaces in this repo CI periodically see https://github.com/pulumi/pulumi-eks/issues/1222 for example
pulumi about
pulumi-eks 2.7.3 is confirmed to be affected (https://github.com/pulumi/pulumi-eks/releases/tag/v2.7.3)
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Retrying at a later time won’t help if the ENI is dangling. Those will need to be manually cleaned up.
Duplicate of: https://github.com/pulumi/pulumi-eks/issues/779
What happened?
In certain configurations
pulumi destroy
fails to delete the eks.Cluster with an error message resembling the following:The workaround is to retry the operation at a later time.
Example
The issue surfaces in this repo CI periodically see https://github.com/pulumi/pulumi-eks/issues/1222 for example
Output of
pulumi about
pulumi-eks 2.7.3 is confirmed to be affected (https://github.com/pulumi/pulumi-eks/releases/tag/v2.7.3)
Additional context
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).