-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
hook terraform validate fails #203
Comments
You can try deleting your |
I'm having the same issue when running in a pipeline in Codefresh with a repository with multiple Terraform modules, I have tried to delete all I thought #158 would have fixed it but not in my case. Any idea on how to debug this in a pipeline? Thanks! |
I ran into this same issue, the way I got it to work was remove Before
After
|
I do the same as @jimsmith . Here is my shell function for that: rm_terraform () {
find . -name ".terraform*" -print0 | xargs -0 rm -r
} |
TBD: add workaround to docs |
Deleting all |
Very good point! Let's add support for an argument in |
Done Issue closing reasons:
|
Hi. I upgraded to terraform 0.15.4 and the terraform_validate hook fails with the following
If I run the command outside of pre-commit in the same directory it all passes fine
Any help on this would be ideal
The text was updated successfully, but these errors were encountered: