Skip to content

Commit

Permalink
Initial development
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcurtis committed Jun 23, 2024
1 parent 179925f commit 10f04a1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- id: terraform-fmt
name: Terraform Format
entry: ./hooks/terraform/format
entry: terraform-fmt
language: golang
files: \.tf$
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Hooks for Infrastructure as Code (IaC) tools

This repository contains a collection of hooks for Infrastructure as Code (IaC) tools. The hooks are designed to be used with [pre-commit](https://pre-commit.com/), a framework for managing and maintaining multi-language pre-commit hooks.
2 changes: 1 addition & 1 deletion hooks/terraform/format.go → cmd/terraform-fmt/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/exec"
"strings"

outputs "github.com/osinfra-io/pre-commit-hooks/hooks/helpers"
outputs "github.com/osinfra-io/pre-commit-hooks/pkg/common/helpers"
)

func checkTerraformInstalled() bool {
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 10f04a1

Please sign in to comment.