Terraform init is failing

520 views
Skip to first unread message

Sammi S

unread,
Nov 20, 2018, 2:31:06 PM11/20/18
to Terraform
Hi,

I'm new to terraform and running into below error. I'm using MacOS

terraform init

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...

Error installing provider "google": Get https://releases.hashicorp.com/terraform-provider-google/: net/http: TLS handshake timeout.

Terraform analyses the configuration and state and automatically downloads
plugins for the providers used. However, when attempting to download this

Anyone faced this issue before?

Regards,
Sammi

Stephen Eilert

unread,
Nov 20, 2018, 2:57:44 PM11/20/18
to Terraform
Are you behind a proxy? What happens when you curl https://releases.hashicorp.com/terraform-provider-google/ ?

This looks like a networking issue.


Thanks,

– Stephen
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/89ff3360-c245-4cdf-b1f7-8ef00598a975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Lowe Schmidt

unread,
Nov 21, 2018, 2:57:36 AM11/21/18
to terrafo...@googlegroups.com
What Does your provider block look likje
On Tue, 20 Nov 2018 at 21:00, Sumeet Singh <samm...@gmail.com> wrote:
Thanks Stephen but I'm getting the output with CURL...

curl https://releases.hashicorp.com/terraform-provider-google/

<!DOCTYPE html>
<html>
<head>
  <title>terraform-provider-google Versions | HashiCorp Releases</title>

  <meta name=viewport content="width=device-width, initial-scale=1">

  <style type="text/css">
    html {
      position: relative;
      min-height: 100%;
    }

    body {
      font-family: monospace;
      font-size: 14px;
      margin: 0 0 50px;
    }

    footer {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 50px;
      line-height: 50px;
      text-align: center;
      width: 100%;
    }

    a {
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    a:visited {
      color: blue;
    }

    ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }

    li {
      margin: 1em;
      padding: 0;
    }
  </style>
</head>

<body>
  <ul>

  <li>
    <a href="../">../</a>
  </li>

  <li>
    <a href="/terraform-provider-google/1.19.1/">terraform-provider-google_1.19.1</a>
  </li>

  <li>
    <a href="/terraform-provider-google/1.19.0/">terraform-provider-google_1.19.0</a>
  </li>

  <li>
    <a href="/terraform-provider-google/1.18.0/">terraform-provider-google_1.18.0</a>


For more options, visit https://groups.google.com/d/optout.


--
Sumeet Singh
510.302.5415

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
Message has been deleted

Nick Tkach

unread,
Nov 27, 2018, 5:20:33 PM11/27/18
to terrafo...@googlegroups.com
Yes I have as well.  Still no idea what to do to fix it.

--
Message has been deleted

Sammi S

unread,
Nov 28, 2018, 1:52:51 AM11/28/18
to Terraform
Please post if you find the solution of this issue. I tried few things but still no luck :(

For now, I installed Vagrant and it's working fine.

Regards,
Sammi

Nick Tkach

unread,
Nov 30, 2018, 10:13:09 PM11/30/18
to terrafo...@googlegroups.com
Yep I get the same problem.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages