I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …
:date_long | 1 min Read
How to pre-commit hook
How to create pre-commit hooks in git
repos:
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.71.0" # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
hooks:
- id: terraform_fmt
- id: terraform_docs
- repo: local
hooks:
- id: generate_readme
pass_filenames: false
name: Generate Readme.md
entry: ./.readme.sh
language: script