Skip to content

Commit

Permalink
Pre-commit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis committed Sep 2, 2023
1 parent f8ccaf4 commit 083113c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ plan.out
*.gz
*.tgz
*.tar

# Ignore .terraform.lock.hcl files
.terraform.lock.hcl
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ repos:
rev: v1.77.2
hooks:
- id: terraform_fmt

# To speed up local validation add the following to your ~/.zshrc:
# export TF_PLUGIN_CACHE_DIR=$HOME/.terraform.d/plugin-cache

- id: terraform_validate
args:
- --hook-config=--retry-once-with-cleanup=true
- --tf-init-args=-upgrade
- id: terraform_docs
args:
- --hook-config=--path-to-file=README.md
Expand Down

0 comments on commit 083113c

Please sign in to comment.