Skip to content

Commit 986fd38

Browse files
committed
Initial commit
0 parents  commit 986fd38

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.tfstate
2+
*.tfstate.*
3+
**/.terraform/
4+
**/secrets.auto.tfvars

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
repos:
2+
- repo: https://github.com/gruntwork-io/pre-commit
3+
rev: v0.1.12
4+
hooks:
5+
- id: terraform-fmt
6+
- id: terraform-validate
7+
- id: tflint
8+
- id: shellcheck

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# terraform-module-template
2+
3+
## Getting Started
4+
5+
Pre-commit:
6+
- Install [pre-commit](http://pre-commit.com/). E.g. `brew install pre-commit`.
7+
- Run `pre-commit install` in this repo. (Every time you cloud a repo with pre-commit enabled you will need to run the pre-commit install command)
8+
- That’s it! Now every time you commit a code change (`.tf` file), the hooks in the `hooks:` config `.pre-commit-config.yaml` will execute.

main.tf

Whitespace-only changes.

provider.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
terraform {
2+
required_providers {
3+
}
4+
}

variables.tf

Whitespace-only changes.

0 commit comments

Comments
 (0)