Problem Description
If you come across an error like this in your terraform run
:
OR a similar error if you're running terraform init
:
[ERROR] error fetching checksums from
"https://releases.hashicorp.com/terraform-provider-google/3.87.0/terraform-provider-google_3.87.0_SHA256SUMS":
Get https://releases.hashicorp.com/terraform-provider-google/3.87.0/terraform-provider-google_3.8 7.0_SHA256SUMS: Forbidden
NOTE: The logs above show an example for the Google (GCP) provider, but also proves evident if you see this error across multiple providers.
Resolution/Troubleshooting Steps
First check our company status page as the error suggests to see if the Registry service is impaired or down, and if it is not, please check your network settings.
==> This is a common network error in situations where you're behind a proxy or firewall where hashicorp.com is not whitelisted. Allowing hashicorp.com in your whitelisted rule for your network or server should allow you to be able to terraform init
successfully and pull the provider from our registry.