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

TLS handshake timeout with HTTP datasource #57

Open
arielazem opened this issue Dec 11, 2020 · 0 comments
Open

TLS handshake timeout with HTTP datasource #57

arielazem opened this issue Dec 11, 2020 · 0 comments

Comments

@arielazem
Copy link

arielazem commented Dec 11, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant