aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure
173 stars 92 forks source link

Failed to query available provider packages #105

Closed skelso01 closed 3 years ago

skelso01 commented 3 years ago

Good morning, I tried this morining to init my terraform code with this provider and got the follwing error:

╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/azurecaf: provider registry registry.terraform.io does not have a provider named
│ registry.terraform.io/hashicorp/azurecaf
│
│ Did you intend to use aztfmod/azurecaf? If so, you must specify that source address in each module which requires that provider. To see which modules are currently depending on
│ hashicorp/azurecaf, run the following command:
│     terraform providers

I have entered the provider in the required_providers and created the provider configuration (empty). What am I doing wrong?

Best regards skelso01

skelso01 commented 3 years ago

I found my fault. I forgot t define the provider in submodules.