Skip to content

Commit

Permalink
fix: pre-commit patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-calabrese committed Dec 23, 2024
1 parent 84a4a08 commit e913f25
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
repos:
- repo: https://github.com/pagopa/dx
rev: c7410ed50d211e756cd4bbb8152e1b275b4485b4
rev: 498e30be0ec7abd03f71148b939cde1c784f8135
hooks:
- id: terraform_providers_lock_staged

- id: lock_modules
exclude: ^.*/(_modules|modules|\.terraform)(/.*)?$
files: src/(common|core|github_runner|identity|migration|repository)
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.96.1
rev: v1.96.2
hooks:
- id: terraform_tflint
args:
Expand Down
3 changes: 3 additions & 0 deletions src/aks-platform/tfmodules.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nginx_ingress": "84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652"
}
3 changes: 3 additions & 0 deletions src/common/prod/tfmodules.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dx-azure-naming-convention": "84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652"
}
4 changes: 4 additions & 0 deletions src/core/prod/tfmodules.lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"networking_itn.dx-azure-naming-convention": "84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652",
"networking_weu.dx-azure-naming-convention": "84ff92691f909a05b224e1c56abb4864f01b4f8e3c854e4bb4c7baf1d3f6d652"
}

0 comments on commit e913f25

Please sign in to comment.