When i run tofu init
in vscode, it keeps on timing out with this error: failed to retrieve authentication checksums for provider
. The file causing the error seems unresponsive in github .90.1 -> terraform-provider-aws_5.90.1_SHA256SUMS
The error:
Initializing the backend...
Initializing provider plugins...
- Finding hashicorp/aws versions matching "~> 5.0"...
╷
│ Error: Failed to install provider
│
│ Error while installing hashicorp/aws v5.90.1: could not
│ query provider registry for
│ registry.opentofu/hashicorp/aws: failed to retrieve
│ authentication checksums for provider: the request failed
│ after 2 attempts, please try again later: Get
│ ";X-Amz-Credential=releaseassetproduction%2F20250312%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250312T095042Z&X-Amz-Expires=300&X-Amz-Signature=86ca4041c801e78aef50e2e2cf2dccf71dbf3af6751efb108f06616268b505e4&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-aws_5.90.1_SHA256SUMS&response-content-type=application%2Foctet-stream":
│ context deadline exceeded (Client.Timeout exceeded while
│ awaiting headers)
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~>5.0"
}
}
}
provider "aws" {
region = "us-east-1"
}