Skip to content

Commit

Permalink
feat: Initial release (#1)
Browse files Browse the repository at this point in the history
* Initial release
  • Loading branch information
mattwillsher authored Jul 28, 2024
1 parent e2ac31d commit 8c832ad
Show file tree
Hide file tree
Showing 35 changed files with 2,605 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Local .terraform directories
**/.terraform/*

# .tfstate files
*.tfstate
*.tfstate.*

# Crash log files
crash.log
crash.*.log

# Exclude all .tfvars files, which are likely to contain sensitive data, such as
# password, private keys, and other secrets. These should not be part of version
# control as they are data points which are potentially sensitive and subject
# to change depending on the environment.
*.tfvars
*.tfvars.json

# Ignore override files as they are usually used to override resources locally and so
# are not checked in
override.tf
override.tf.json
*_override.tf
*_override.tf.json

# Ignore transient lock info files created by terraform apply
.terraform.tfstate.lock.info

# Include override files you do wish to add to version control using negated pattern
# !example_override.tf

# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
# example: *tfplan*

# Ignore CLI configuration files
.terraformrc
terraform.rc

# Ignore generated configs
kubeconfig
talosconfig

/.terraform.lock.hcl
/modules/**/.terraform.lock.hcl
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
repos:
- repo: https://github.com/terraform-docs/terraform-docs
rev: "v0.18.0"
hooks:
- id: terraform-docs-go
args: ["-c",".terraform-docs.yml","."]
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.92.0"
hooks:
- id: terraform_validate
args:
- --hook-config=--retry-once-with-cleanup=true
- id: terraform_fmt
- id: terraform_tflint
- id: terraform_trivy

11 changes: 11 additions & 0 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
formatter: markdown document

recursive:
enabled: true
path: modules
include-main: true

output:
file: README.md

Loading

0 comments on commit 8c832ad

Please sign in to comment.