8000 Provider invalid for bless module: "Failed to query available provider packages" · Issue #437 · chanzuckerberg/cztack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Provider invalid for bless module: "Failed to query available provider packages" #437
Open
@queglay

Description

@queglay

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0