Initial commit

This commit is contained in:
Ethan Paul 2024-05-17 14:23:44 -04:00
commit e98b6980f2
Signed by: enpaul
GPG Key ID: 9B6D99E4CFA31867
3 changed files with 72 additions and 0 deletions

16
.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
## Terraform files
.terraform
terraform.tfvars
**.tfstate*
## IDE files
.idea
## Mac detritus
*.DS_Store
# Local python venv
.venv/
# Local env files
.env*

52
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,52 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # Use the ref you want to point at
hooks:
- id: end-of-file-fixer
name: Fix EOF
types:
- text
- id: trailing-whitespace
name: Fix trailing whitespace
types:
- text
- id: check-merge-conflict
name: Check merge conflict
types:
- text
- id: check-yaml
name: Check YAML file syntax
types:
- yaml
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
name: Check for committed secrets
types:
- text
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
args:
- "--number"
- "--wrap=90"
additional_dependencies:
- mdformat-gfm
- repo: local
hooks:
- id: terraform-format
name: Enforce terraform formatting
entry: tofu
language: system
args:
- "fmt"
files: '.*\.(tfvars|tf)$'

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# terraform-aws-ecs-netbox
A terraform module for deploying containerized Netbox on AWS Elastic Container Service
(ECS)