gavinbunney / terraform-provider-kubectl

Terraform provider to handle raw kubernetes manifest yaml files
https://registry.terraform.io/providers/gavinbunney/kubectl
Mozilla Public License 2.0
619 stars 105 forks source link

Wait for NotFound when deleting a manifest #195

Open 4gsim opened 2 years ago

4gsim commented 2 years ago

When deleting a manifest the provider waits for IsGone or NotFound error. But it can happen that the resource still remains when the IsGone error is received (in case of finalizers). Should it not be better to just wait for NotFound error?