Skip to content
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

fix: trivy ci fail #43

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ repos:
- id: terraform_tflint
- id: terraform_trivy
args:
- --hook-config=--parallelism-limit=1
- --args=--severity MEDIUM,HIGH,CRITICAL
- --args=--skip-dirs="*/.terraform"
- --args=--tf-exclude-downloaded-modules
Expand All @@ -54,12 +55,22 @@ repos:
- id: actionlint-system
- repo: local
hooks:
- id: update-terraform-modules-cluster
name: Update terraform modules for the Terraform cluster/
language: system
entry: terraform -chdir=cluster init -upgrade
pass_filenames: false
- id: terraform-docs-cluster
name: Generate docs for the Terraform cluster/
language: system
entry: terraform-docs markdown table cluster/
pass_filenames: false
files: 'cluster/'
- id: update-terraform-modules-config
name: Update terraform modules for the Terraform config/
language: system
entry: terraform -chdir=config init -upgrade
pass_filenames: false
- id: terraform-docs-config
name: Generate docs for the Terraform config/
language: system
Expand Down
34 changes: 17 additions & 17 deletions cluster/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.82.2 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.83.1 |
| <a name="provider_kubectl"></a> [kubectl](#provider\_kubectl) | 1.14.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.24.0 |

Expand Down
32 changes: 16 additions & 16 deletions config/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.82.2 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.83.1 |
| <a name="provider_helm"></a> [helm](#provider\_helm) | 2.11.0 |
| <a name="provider_kubectl"></a> [kubectl](#provider\_kubectl) | 1.14.0 |
| <a name="provider_kubernetes"></a> [kubernetes](#provider\_kubernetes) | 2.24.0 |
Expand Down
Loading