tf-ubuntu-lineageos/.pre-commit-config.yaml

23 lines
701 B
YAML

---
repos:
- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.50.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- id: terraform_validate
files: vms
- id: terraform_tflint
- id: terraform_docs
- id: terraform_tfsec
name: "Terraform validate wih tfsec: libvirt.tf"
args: [libvirt.tf]
- id: terraform_tfsec
name: "Terraform validate wih tfsec: vms folder"
args: [./vms]
- id: checkov
name: Checkov libvirt.tf
args: [-f libvirt.tf]
- id: checkov
name: Checkov main.tf
args: [-f vms/main.tf]