terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

Can't initialize oracle/oci provider

Open giovannicandido opened this issue 2 years ago • 0 comments

I'm using terraform init with the follow configuration:

terraform {
  required_providers {
    oci = {
      source = "oracle/oci"
      version = ">= 4.67.3"
    }
  }
}
provider "oci" {
    region = var.region
}

When running terraform init the follow error is throw:

 terraform init
Initializing modules...

Initializing the backend...

Initializing provider plugins...
- Finding oracle/oci versions matching ">= 4.67.3"...
╷
│ Error: Failed to install provider
│
│ Error while installing oracle/oci v4.92.0: could not query provider registry for registry.terraform.io/oracle/oci:
│ failed to retrieve authentication checksums for provider: the request failed after 2 attempts, please try again
│ later: Get
│ "https://objects.githubusercontent.com/github-production-release-asset-2e65be/72815297/9cd2c161-374b-4d7a-8e1f-0c1cab16c611?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220907%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220907T210735Z&X-Amz-Expires=300&X-Amz-Signature=175aa8b3336d94e15c9924c023f4929d8c46b946b5240de418932743575c9b2f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=72815297&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-oci_4.92.0_SHA256SUMS&response-content-type=application%2Foctet-stream":
│ net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
╵

giovannicandido avatar Sep 07 '22 21:09 giovannicandido