banzaicloud/terraform-provider-k8s

Increase deletion timeout to be longer

Jefski14 opened this issue · 3 comments

Hi, while trying to destroy a k8s service of type LoadBalancer I frequently run into the deletion timeout.
I'm guessing this is because it takes a little more time to delete the attached cloud LoadBalancer (in my case from AWS), so I would suggest increasing the limit a little.

I will gladly open a PR if you think this is worth doing.

Delete: schema.DefaultTimeout(1 * time.Minute),

Hi @Jefski14,

we really like to review and merge PRs! 🙂

Please go ahead.

Fixed by #45

For anyone still having such an issue on specific terraform resources, it is possible to specify ressource specific timeouts using the timeouts nested block argument.