title: GCP Terraform Apply and Destroy errors: oauth2: cannot fetch token: Post https://accounts.google.com/o/oauth2/token: net/http: TLS handshake timeout
body: <p>I've been using GCP and Terraform for a few months - just creating some basic VMs and firewall resources for testing.</p>
  
  <p>Increasingly, about 50% of the time when applying and 100% of the time when trying to destroy an environment using Terraform, I get the following error:</p>
  
  <p>Error creating Firewall: Post <a href="https://www.googleapis.com/compute/beta/projects/mkdemos-219107/global/firewalls?alt=json" rel="nofollow noreferrer">https://www.googleapis.com/compute/beta/projects/mkdemos-219107/global/firewalls?alt=json</a>: oauth2: cannot fetch token: Post <a href="https://accounts.google.com/o/oauth2/token" rel="nofollow noreferrer">https://accounts.google.com/o/oauth2/token</a>: net/http: TLS handshake timeout</p>
  
  <p>To destroy, the only way is to log into the console, manually delete the resource and rm my local terraform state files.</p>
  
  <p>Its the intermittent nature of this that is driving me crazy. I've tried creating a new project, re-creating a new json with service credentials and still the same behaviour. </p>
  
  <p>If it consistently failed or had been doing this all the time, I'd assume there was something wrong in my Terraform template or the way I've setup the GCP Service Account. But sometimes it works - sometimes it doesn't - it makes no sense and is making using GCP unworkable for testing.</p>
  
  <p>If anyone has any similar experience of this I'd welcome some thoughts. Surely it can't just be me?? ;-)</p>
  
  <p>FYI:
  Terraform: v0.11.7
  provider.google: v1.19.0
  Mac OSX: 10.13.1</p>
  
  <p>Cheers.</p>