When I run terraform init, with a clean slate -- i.e. no .terraform folder, no lock.hcl, no state, I get the following error:
Initializing the backend...
Initializing provider plugins...
- Reusing previous version of mrparkers/keycloak from the dependency lock file
- Finding latest version of hashicorp/keykcloak...
- Using previously-installed mrparkers/keycloak v4.4.0
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/keykcloak: provider registry registry.terraform.io does not have a provider
│ named registry.terraform.io/hashicorp/keykcloak
Installed mrparkers/keycloak v4.4.0 (self-signed, key ID C50867915E116CD2)
Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/cli/plugins/signing.html
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/keykcloak: provider registry registry.terraform.io does not have a provider
│ named registry.terraform.io/hashicorp/keykcloak
│
new terraform project with main.tf setup like so:
When I run terraform init, with a clean slate -- i.e. no .terraform folder, no lock.hcl, no state, I get the following error: