-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Disabling --lockfile
for terraform_docs
#212
Comments
Hi, I have not tried it myself yet but you can try it like it is described for
|
Ah brilliant, that worked. |
@antonbabenko, should I file a separate issue to bring this option to the
|
See #248 |
Thanks for the heads up. As soon as I went deeper on why this argument wasn't working for |
I'm using the latest terraform-docs 0.15.0 which adds a way to disable reading the lockfile.
Locally this works
$ terraform-docs --version terraform-docs version v0.15.0 darwin/amd64 $ terraform-docs md --lockfile=false .
I tried setting the following
When the pre-commit hook runs, I get the following error
How do I set this correctly ?
I also tried setting a
.terraform.docs.yml
in the root of my repo but this doesn't seem to be consumed by thepre-commit
.The text was updated successfully, but these errors were encountered: