While the installation of the providers is working locally totally fine it does not work on our CI system running at Hetzner Cloud:
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
╷
│ Error: Failed to install provider
│
│ Error while installing hashicorp/aws v4.6.0: could not query provider
│ registry for registry.terraform.io/hashicorp/aws: failed to retrieve
│ authentication checksums for provider: 405 Method Not Allowed
╵
I have found Failed to install provider and Failed to install provider · Issue #23481 · hashicorp/terraform-provider-aws · GitHub which seems like access from Russia have been limited, but all systems are running in Germany and they are not connected to Russia at all.
What can we do? A curl request like curl https://registry.terraform.io/v1/providers/hashicorp/aws/versions
is working totally fine. There are no connection limitations on our side.