A foundational template for creating reusable Terraform modules with best practices, pre-configured files, and workflows.
sudo-terraform-module-template/
├── .github/
│ └── workflows/
│ └── main.yml # CI pipeline - pre-commit and checkov jobs
├── examples/
│ ├── complete/ # Full-featured usage example
│ └── minimal/ # Minimal working example
├── .gitignore # Terraform, IDE, and OS ignores
├── .pre-commit-config.yaml # Conventional commits, fmt, tflint, branch protection
├── .tflint.hcl # TFLint rule configuration
├── checkov.yaml # Checkov security scan config
├── LICENSE # License file
├── main.tf # Primary module resources
├── Makefile # Developer shortcuts: fmt, lint, checkov, docs, validate
├── outputs.tf # Module output values
├── README.md # Project documentation (this file)
├── variables.tf # Module input variables
└── versions.tf # Terraform and provider version constraints
| Name | Version |
|---|---|
| terraform | >= 1.3.0 |
| aws | >= 6.0.0 |
No providers.
No modules.
No resources.
No inputs.
No outputs.