Skip to content

Error executing command: unable to generate website: configuration is invalid #169

Closed as not planned
@cloud-j-luna

Description

@cloud-j-luna

I get the error Error executing command: unable to generate website: configuration is invalid when running go generate on my provider.

I have the following structure in the examples folder
image
and the following comment in my main.go

//go:generate go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs --provider-name=<my provider hostname/namespace/type>

I'm running the command in the root directory of the provider.

Any clues on what can be happening? The logs say some configuration is invalid, I'm not really sure which one.
Thank you.

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