terraform-provider-helm icon indicating copy to clipboard operation
terraform-provider-helm copied to clipboard

Add support for timeouts block on helm_release and kubernetes_manifest resources

Open drdkadtr opened this issue 3 years ago • 4 comments

Description

Im experiencing timeout limits during apply command, and I find timeout string argument is confusing. Instead I suggest having a map type as described here: https://www.terraform.io/language/resources/syntax#operation-timeouts

Example of ci runs can be found here (without timeout setting): https://github.com/drdkadtr/learn-terraform-k8s-crd-openfaas/runs/4666572143?check_suite_focus=true

Potential Terraform Configuration

resource "helm_release" "openfaas" {
  repository = "https://openfaas.github.io/faas-netes"
  chart      = "openfaas"
  name       = "openfaas"
  namespace  = "openfaas"
  ...
  timeouts {
    create = "45m"
    update = "45m"
    delete = "45m"
  }
}

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

drdkadtr avatar Dec 30 '21 12:12 drdkadtr

Hi, It would be very useful to be able to use timeouts as in other resources.

zeusal avatar Jul 04 '22 07:07 zeusal

Hi all, is there anyone working on this issue?

abi-jey avatar Jan 16 '23 14:01 abi-jey

I would like to set the timeout to be shorter in my case - when I am experimenting with different things that may cause an error - iIdon't like waiting five minutes for it to give me a failure.

williamohara avatar Feb 13 '23 17:02 williamohara

Also useful would be a default_timeouts config in the provider block, so that third-party child modules' default timeouts can be set.

excalq avatar Jul 25 '23 15:07 excalq