zero icon indicating copy to clipboard operation
zero copied to clipboard

investigate ways to ensure correct context for helm_charts resources during `terraform destroy`

Open davidcheung opened this issue 4 years ago • 0 comments

given the wrong ~/.kube/config (users operate multiple cluster but didn't run make update-k8s-conf before doing teardown), terraform destroy of helm-charts resources could end up targeting the wrong resources

potentially use the on_delete hook on the resource to make sure the context is matching to block the deletion of wrong resources

davidcheung avatar Jan 26 '21 01:01 davidcheung