You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Created a destroy-time provisioner which looks for LoadBalancer services,
and fails if it finds any.
The idea is to abort the destroy if LoadBalancer services exist, and ensure they have been migrated.
I had to create a null_resource with a destroy-time provisioner, which depends on the eks module.
The PR was merged so I will close this but also bear in mind that cleaning up AWS resources created by k8s is out of the scope of this module. Also this might be interesting to you: kubernetes/kubernetes#85023 kubernetes/enhancements#980
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
I have issues
Created a destroy-time provisioner which looks for LoadBalancer services,
and fails if it finds any.
The idea is to abort the destroy if LoadBalancer services exist, and ensure they have been migrated.
I had to create a
null_resource
with a destroy-time provisioner, which depends on the eks module.I'm submitting a...
What is the current behavior?
The provisioner runs and exits with status code 1, but the destroy does not abort
and the cluster gets deleted.
If this is a bug, how to reproduce? Please include a code sample if relevant.
The provisioner runs and fails, but destroy proceeds and all clsuter resources are deleted:
What's the expected behavior?
When the provisioner fails, destroy of the cluster is aborted.
Are you able to fix this problem and submit a PR? Link here if you have already.
I submitted a PR which adds count to all resources:
#580
But, there would be issues with migration of resources.
Environment details
Any other relevant info
The text was updated successfully, but these errors were encountered: