terraform-provider-http
terraform-provider-http copied to clipboard
TLS handshake timeout with HTTP datasource
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:
terraform destroy -auto-approve
Important Factoids
Running HCS on Azure