Open diegopeinador opened 6 months ago
I have the same issue
Terraform v1.9.2
on linux_amd64
+ provider registry.terraform.io/hashicorp/aws v5.57.0
+ provider registry.terraform.io/hashicorp/http v3.4.3
+ provider registry.terraform.io/hashicorp/tls v4.0.5
+ provider registry.terraform.io/kreuzwerker/docker v3.0.2
check "app_health" {
data "http" "app" {
url = "${local.app_url}/health"
insecure = true
request_timeout_ms = 20 * 1000
}
assert {
condition = data.http.app.status_code == 200
error_message = "${data.http.app.url} returned an unhealthy status code"
}
}
Terraform CLI and Provider Versions
Terraform Configuration
Expected Behavior
Terraform uses configured timeout when connecting to the URL
Actual Behavior
Terraform times out after 30 sec.
Steps to Reproduce
terraform apply
How much impact is this issue causing?
High
Logs
No response
Additional Information
My (somehow) complex config is taking 38 seconds to run
terraform apply
when the timeout is configured to 20 minutes.Code of Conduct