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

configuration is invalid #136

Open
adejoux opened this issue May 12, 2022 · 1 comment
Open

configuration is invalid #136

adejoux opened this issue May 12, 2022 · 1 comment

Comments

@adejoux
Copy link

adejoux commented May 12, 2022

Hello,

When running tfplugindocs inside my terraform plugin I have this error:

tfplugindocs.exe generate 
rendering website for provider "terraform_ccc_provider"
exporting schema from Terraform
compiling provider "terraform_ccc_provider"
using Terraform CLI binary from PATH if available, otherwise downloading latest Terraform CLI binary
running terraform init
Error executing command: unable to generate website: configuration is invalid

I cannot get any information on what is invalid and what this tool is expecting. Would be nice to have more informations on this kind of errors.

Can you help me?

Regards

@lrstanley
Copy link

Hello @adejoux, if #174 is merged, it should help improve the error output from terraform itself.

I believe the issue you are likely running into is the provider name, which I don't believe can have an underscore. When I tried locally with an underscore, terraform threw an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants