File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1313 id : packer_validate
1414 language : script
1515 name : Packer Validate
16+ # This is necessary because Packer's plugin cache is not safe for concurrent access
17+ # per https://github.com/hashicorp/terraform/issues/32915#issuecomment-1485061999. If
18+ # this is not set to true then pre-commit itself will perform some level of
19+ # parallelization across the files to run this hook against. Since we only care about
20+ # unique directory paths it should not impact performance and it will help prevent
21+ # issues arising from concurrent attempts to perform `packer init` on a particular
22+ # directory path.
23+ require_serial : true
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ against any directory that houses `.pkr.hcl` files.
3434``` yaml
3535repos :
3636 - repo : https://github.com/cisagov/pre-commit-packer
37- rev : v0.3.0
37+ rev : v0.3.1
3838 hooks :
3939 - id : packer_fmt
4040 - id : packer_validate
Original file line number Diff line number Diff line change 1- 0.3.0
1+ 0.3.1
You can’t perform that action at this time.
0 commit comments