jenkins-x / terraform-aws-eks-jx

A Terraform module for creating Jenkins X infrastructure on AWS
Apache License 2.0
63 stars 43 forks source link

EBS volumes not getting deleted after terraform destroy #170

Open ankitm123 opened 4 years ago

ankitm123 commented 4 years ago

Summary

EBS volumes attached to worker groups dont get deleted by default. We should atleast expose an option to delete or keep it after the worker nodes are removed. This only affects eks managed nodes. For worker nodes, they are created as root volumes, and get removed, once terraform destroy is completed.

ankitm123 commented 4 years ago

/assign

ankitm123 commented 4 years ago

So, this happens after executing jx admin operator after a terraform apply. If we just do a terraform apply and then a destroy, then the ebs volumes do get destroyed.

jenkins-x-bot commented 3 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://jenkins-x.io/community. /lifecycle stale

jenkins-x-bot commented 3 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with /close. Provide feedback via https://jenkins-x.io/community. /lifecycle rotten