banzaicloud/terraform-provider-k8s

Allow custom timeout for manifest resources

matttrach opened this issue · 2 comments

Is your feature request related to a problem? Please describe.

Some resources take longer than 3 min to deploy.

Describe the solution you'd like to see

Use a variable to set the timeout of the resource, it seems to be hard coded at 3min currently.

Describe alternatives you've considered

An environment variable at the provider level would work as well, or a set number of retries.

Additional Context
here

This appears to be where the resource has the timeout hard coded, using an env variable here or propagating a variable from the resource would be great.

This would be greatly appreciated!
Many times I have attempted a deployment where a custom resource requires more than 3 minutes to provision within kubernetes.

pepov commented

I beleive this should work so you should already be able to configure custom timeouts:
https://www.terraform.io/docs/language/resources/syntax.html#operation-timeouts