Overview
The Guides section covers day-to-day workflows for developing, testing, and deploying Terraform infrastructure.
Guide pages
| Guide | What you'll learn |
|---|---|
| Local Development | Day-to-day commands for planning, applying, and testing infrastructure |
| Creating Modules | How to create and use custom Terraform modules |
Quick reference
Local development cycle
# Make infrastructure changes
make format # Format Terraform code
make validate-env ENV=staging # Validate configuration
make plan ENV=staging # Preview changes
make apply ENV=staging # Deploy changes
Security scanning
make lint # Run TFLint
make security-scan # Run Checkov
make validate-full # Run all checks
Creating a module
# Create module structure
mkdir -p modules/your-module
touch modules/your-module/{main.tf,variables.tf,outputs.tf,versions.tf}
# Use in environment
module "your_module" {
source = "../../modules/your-module"
# variables...
}
Related documentation
- Configuration - Project structure and environment setup
- Reference - Makefile commands and tool documentation
- Install - Initial setup instructions