Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add terraform format pre-commit hook (#1307)
Browse files Browse the repository at this point in the history
somesylvie authored and tjohnson7021 committed Oct 17, 2024
1 parent e84cab5 commit 2d292ee
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -32,3 +32,13 @@ repos:
- java
- groovy
pass_filenames: false

- repo: local
hooks:
- id: terraform-format
name: terraform-format
entry: bash -c 'terraform fmt -recursive -write'
language: system
types_or:
- terraform
pass_filenames: false

0 comments on commit 2d292ee

Please sign in to comment.