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

Config file from $HOME/.tfdocs.d/ is not picked up #713

Open
papanito opened this issue Oct 4, 2023 · 0 comments
Open

Config file from $HOME/.tfdocs.d/ is not picked up #713

papanito opened this issue Oct 4, 2023 · 0 comments

Comments

@papanito
Copy link

papanito commented Oct 4, 2023

Describe the bug

I have a config file in $HOME/.tfdocs.d/

ls -a $HOME/.tfdocs.d/
./  ../  .terraform-docs.yml`

However, when I run terraform-docs without -c it does not seem to pick the file up

terraform-docs . 
A utility to generate documentation from Terraform modules in various output formats

Usage:
  terraform-docs [PATH] [flags]
  terraform-docs [command]
...

It works fine if the config file is in the root of the module.

How can we reproduce it?

See Bug description

Environment information

  • terraform-docs version (use terraform-docs --version): v0.16.0 1f686b1 windows/amd64`
  • Go version (if you manually built. use go version): N/A
  • OS (e.g. Windows, MacOS): Windows Server 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Proposed
Development

No branches or pull requests

2 participants