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

TLS handshake timeout with HTTP datasource

Open arielazem opened this issue 4 years ago • 0 comments

Hi there, the issue here is with the http provider as the moment it tries to fetch data from the given HTTPs URL, it ends up on TLS handshake timeout

Terraform Version

Terraform v0.13.5
+ provider registry.terraform.io/hashicorp/azurerm v2.38.0
+ provider registry.terraform.io/hashicorp/http v2.0.0
+ provider registry.terraform.io/hashicorp/null v3.0.0
+ provider registry.terraform.io/hashicorp/random v3.0.0

Affected Resource(s)

Terraform apply/destroy not happening

Terraform Configuration Files

https://github.com/cpu601/terraform-azurerm-hcs/blob/master/main.tf#L10-L12

data "http" "cloud_hcs_meta" {
  url = "https://raw.githubusercontent.com/hashicorp/cloud-hcs-meta/master/ama-plans/defaults.json"
}

Expected Behavior

Terraform command should go thru but since http datasource is failing, the whole execution fails

Actual Behavior

Terraform command executions are failing as http datasource is timing out while reaching

Error: Error making request: Get "https://raw.githubusercontent.com/hashicorp/cloud-hcs-meta/master/ama-plans/defaults.json": net/http: TLS handshake timeout

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform destroy -auto-approve

Important Factoids

Running HCS on Azure

arielazem avatar Dec 11 '20 15:12 arielazem