Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.opentofu.org does not have a provider named registry.opentofu.org/hashicorp/internal #1426

Open
eltalkarim opened this issue Jan 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@eltalkarim
Copy link

eltalkarim commented Jan 7, 2025

Thank you for reporting an issue.

  │ Error: Failed to query available provider packages
  │ 
  │ Could not retrieve the list of available versions for provider
  │ hashicorp/internal: provider registry registry.opentofu.org does not have a
  │ provider named registry.opentofu.org/hashicorp/internal
  │ 
  │ All modules should specify their required_providers so that external
  │ consumers will get the correct providers when using a module. To see which
  │ modules are currently depending on hashicorp/internal, run the following
  │ command:
  │     tofu providers
  │ 
  │ If you believe this provider is missing from the registry, please submit a
  │ issue on the OpenTofu Registry
  │ https://github.com/opentofu/registry/issues/new/choose
  ╵
  
  14:33:25.289 STDOUT tofu: Providers required by configuration:
14:33:25.290 STDOUT tofu: .
14:33:25.290 STDOUT tofu: ├── provider[registry.opentofu.org/hashicorp/vault] 3.24.0
14:33:25.290 STDOUT tofu: ├── provider[registry.opentofu.org/hashicorp/aws] 5.61.0
14:33:25.290 STDOUT tofu: ├── module.private_link
14:33:25.290 STDOUT tofu: │   ├── provider[registry.opentofu.org/hashicorp/internal]
14:33:25.290 STDOUT tofu: │   └── provider[registry.opentofu.org/hashicorp/aws] 5.61.0
14:33:25.290 STDOUT tofu: ├── module.read_secrets
14:33:25.290 STDOUT tofu: │   └── provider[registry.opentofu.org/hashicorp/vault] 3.24.0
14:33:25.290 STDOUT tofu: └── module.wafv2
14:33:25.290 STDOUT tofu:     └── provider[registry.opentofu.org/hashicorp/aws] 5.61.0


OpenTofu Version

OpenTofu v1.8.5
on linux_amd64
+ provider registry.opentofu.org/hashicorp/aws v5.61.0
+ provider registry.opentofu.org/hashicorp/vault v3.24.0


### OpenTofu Configuration Files

```hcl

terraform {
  required_version = ">= 1.6"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "= 5.61.0"
    }
  }
}

@eltalkarim eltalkarim added the bug Something isn't working label Jan 7, 2025
@cam72cam
Copy link
Member

cam72cam commented Jan 7, 2025

Hi, hashicorp/internal is not an actual provider. Can you look at your module.private_link for where it might be trying to refer to a "internal" provider?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants