cztack
cztack copied to clipboard
Provider invalid for bless module: "Failed to query available provider packages"
Thanks for running this project. When getting started today for the first time with the provided example, and defining the provider like so:
terraform {
required_providers {
bless = {
source = "registry.terraform.io/chanzuckerberg/bless"
version = "~> 0.5"
}
}
required_version = ">= 0.13"
}
I get an error on terraform init:
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider hashicorp/bless: provider registry registry.terraform.io does not have a provider
│ named registry.terraform.io/hashicorp/bless
│
│ Did you intend to use chanzuckerberg/bless? If so, you must specify that source address in each module which requires that provider. To see
│ which modules are currently depending on hashicorp/bless, run the following command:
│ terraform providers
╵
It appears the bless module is pointing at an incorrect url for the intended provider:
Providers required by configuration:
.
├── provider[registry.terraform.io/chanzuckerberg/bless] ~> 0.5
├── provider[registry.terraform.io/hashicorp/null] ~> 3.0
├── provider[registry.terraform.io/hashicorp/aws]
└── module.bless
├── provider[registry.terraform.io/hashicorp/random]
├── provider[registry.terraform.io/hashicorp/bless]
├── provider[registry.terraform.io/hashicorp/aws]
├── module.lambda
│ └── provider[registry.terraform.io/hashicorp/aws] >= 3.0.0
└── module.logs_policy
└── provider[registry.terraform.io/hashicorp/aws]