Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request_timeout_ms ignored #402

Open
1 task done
diegopeinador opened this issue Apr 16, 2024 · 0 comments
Open
1 task done

request_timeout_ms ignored #402

diegopeinador opened this issue Apr 16, 2024 · 0 comments
Labels

Comments

@diegopeinador
Copy link

Terraform CLI and Provider Versions

Terraform v1.8.0
on darwin_amd64

  • provider registry.terraform.io/hashicorp/azuread v2.48.0
  • provider registry.terraform.io/hashicorp/azurerm v3.99.0
  • provider registry.terraform.io/hashicorp/http v3.4.2
  • provider registry.terraform.io/hashicorp/random v3.6.1

Terraform Configuration

data "http" "public_ip_proxy" {
  url = "https://ipv4.icanhazip.com"
  request_timeout_ms = 120000
}

Expected Behavior

Terraform uses configured timeout when connecting to the URL

Actual Behavior

Terraform times out after 30 sec.

Steps to Reproduce

  1. Configure HTTP data source with a URL that takes more than 30 sec to reply (and timeout is configured accordingly).
  2. terraform apply
  3. Check that terraform times out after 30 sec.

How much impact is this issue causing?

High

Logs

No response

Additional Information

Screenshot 2024-04-16 at 11 32 57
My (somehow) complex config is taking 38 seconds to run terraform apply when the timeout is configured to 20 minutes.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant