Skip to content

Doc generator uses wrong registry #141

Open
@KyloRilo

Description

@KyloRilo

Whenever I attempt to run tfplugindocs generate it assumes that my provider is under the hashicorp registry. Is there a way to pass in your own registry and provider instead of it defaulting to hashicorp?
The error I get is:
`
Error executing command: unable to generate website: exit status 1

Error: Failed to load plugin schemas

Error while loading schemas for plugin components: Failed to obtain provider
schema: Could not load the schema for provider
registry.terraform.io/hashicorp/{my_provider}: failed to instantiate provider
"registry.terraform.io/hashicorp/{my_provider}" to obtain schema: Unrecognized
remote plugin message: open : no such file or directory
`

How can I get the registry to actually use "registry.terraform.io/{my_org}/{my_provider}"

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