-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
els-blueprints: When destroying the whole network resources (VPC, Subnet, Routetable, NACL, SG) are left #1068
Comments
@jesperalmstrom what is the status of the stack in cloudformation after you destroy it? Sometimes destroy command won't finish leaving resources behind, that happens for example if any of the resources are modified outside of the stack. In that case the CFN detects drift and stops. |
I did a faulty deploy (wrong region) so i destroyed almost immediately. There should not have been any drift. |
The CFN stack got several of these
When I tried force delete it would not succeed because of dependencies. Took me hours to find and understand all the dependencies. I found a script that I modified to be able to delete them (slight modified version of this https://gist.github.com/alberto-morales/b6d7719763f483185db27289d51f8ec5). |
@shapirov103 do you have any ideas or tricks? |
This is not the expected behavior, however, before qualifying it as a defect, please share what were the dependencies that you discovered? CFN is expected to remove all resources that were provisioned, provided there was no change to the resources. |
Thanks for the response I will try to remove Flux and see if the delete becomes more smooth. |
Describe the bug
When calling
cdk destroy
all or most of the networking resourcing was left un-destroyed.Expected Behavior
All the resources where destroyed
Current Behavior
Resources like (VPC, Subnet, Routetable, NACL, IGW, NetworkInterfaces, SG). I had to find a Gist that I found to identify and then destroy them manually.
Reproduction Steps
Added a list of Addons
Then created the cluster:
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.147.3 (build 32f0fdb)
EKS Blueprints Version
1.15.1
Node.js Version
v22.2.0
Environment details (OS name and version, etc.)
Other information
No response
The text was updated successfully, but these errors were encountered: