We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tfupdate hook working fine with pre-commit run command, but when git commit is performed. tfupdate fails to find directory
run git commit
MacOS
git commit -m "test"
failed to open path: stat modules/module1: no such file or directory failed to open path: stat modules/module2: no such file or directory
$ uname -a Darwin MBP.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64
--> * Tools availability and versions: ```bash pre-commit : `v1.68.0` python: `3.8.6` tfupdate: `0.6.5`
.pre-commit-config.yaml
- repo: https://github.com/antonbabenko/pre-commit-terraform rev: v1.68.0 hooks: - id: tfupdate name: Update Google provider to specified version args: - --args=provider google - --args=--version 4.18.0 - id: tfupdate name: Update Terraform provider to specified version args: - --args=terraform - --args=--version 1.1.8
The text was updated successfully, but these errors were encountered:
Bug confirmed.
pre-commit run
pre-commit run -a
Sorry, something went wrong.
tfupdate
pre-commit run --all
This issue has been resolved in version 1.70.1 🎉
MaxymVlasov
Successfully merging a pull request may close this issue.
Describe the bug
Tfupdate hook working fine with pre-commit run command, but when git commit is performed. tfupdate fails to find directory
How can we reproduce it?
run git commit
Environment information
MacOS
git commit -m "test"
output:$ uname -a
Darwin MBP.local 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64 x86_64
.pre-commit-config.yaml
:file content
The text was updated successfully, but these errors were encountered: