Closed UtopiaWorld closed 2 months ago
Terraform version: v1.4.0 - Installing hashicorp/helm v2.15.0... - Installed hashicorp/helm v2.15.0 (signed by HashiCorp) - Installing hashicorp/template v2.2.0... - Installed hashicorp/template v2.2.0 (signed by HashiCorp) - Installing hashicorp/aws v5.66.0... - Installed hashicorp/aws v5.66.0 (signed by HashiCorp) - Installing hashicorp/kubernetes v2.32.0... - Installed hashicorp/kubernetes v2.32.0 (signed by HashiCorp)
resource "helm_release" "aqa_test" { name = "aqa-test" chart = "s3://${s3_tests_key}" wait_for_jobs = true }
Terraform should wait for job complete status and return failed or success status
Terraform does not wait for jobs complete status and just report success status while job is still running
It was added in 2.1.2 but it does not work in 2.15.0 2.1.2 (April 27, 2021) Add support for the --wait-for-jobs option (#720) Here you can check it was reproduced in 2.6.0 - https://github.com/hashicorp/terraform-provider-helm/issues/672
I will close this issue as it is already being investigated in #672 .
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform should wait for job complete status and return failed or success status
Actual Behavior
Terraform does not wait for jobs complete status and just report success status while job is still running
References
It was added in 2.1.2 but it does not work in 2.15.0 2.1.2 (April 27, 2021) Add support for the --wait-for-jobs option (#720) Here you can check it was reproduced in 2.6.0 - https://github.com/hashicorp/terraform-provider-helm/issues/672
Community Note