Closed guidodobboletta closed 4 years ago
Does 0.1.8
work for you?
It does not. It fails with the message I posted above:
Terraform validate.......................................................Failed
- hook id: terraform-validate
- exit code: 1
Terraform initialized in an empty directory!
The directory has no Terraform configuration files. You may begin working
with Terraform immediately by creating Terraform configuration files.
Error: Failed to read module directory
Module directory terraform does not exist or cannot be read.
@guidodobboletta Thanks for confirming and apologies for the delay in getting back to you. This should now be fixed in https://github.com/gruntwork-io/pre-commit/releases/tag/v0.1.9
Execution of hook in 0.1.5
Execution of hook in 0.1.8
Directory structure: