Skip to content

Allow for third-party terraform providers. #1700

@basb2801

Description

@basb2801

Is your feature request related to a problem? Please describe.
Right now the only supported providers according to the documentation are:

  • google
  • AWS
  • Azure

This limits the flexibility of this program and will create the following error when trying to use an third-party provider:

Initializing the backend...

Successfully configured the backend "kubernetes"! OpenTofu will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Finding latest version of hashicorp/keycloak...
╷
│ Error: Failed to query available provider packages
│ 
│ Could not retrieve the list of available versions for provider
│ hashicorp/keycloak: provider registry registry.opentofu.org does not have a
│ provider named registry.opentofu.org/hashicorp/keycloak
│ 
│ 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/keycloak, run the following
│ command:
│     tofu providers

Describe the solution you'd like
Allow us to be more flexible with the usage of third-party providers for example:
Keycloak: https://github.com/keycloak/terraform-provider-keycloak

Describe alternatives you've considered
An alternative solution might be to enable us to set a custom provider by setting a custom registry instead of defaulting to the HashiCorp one. Thus excluding all non-hashicorp providers.

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