Overview
The Guides section covers practical workflows for working with the AWS Terraform Starter Kit, from day-to-day development to creating reusable modules.
Topics
- Local Development — day-to-day commands for planning, applying, and testing infrastructure changes
- Creating Modules — learn how to create and use custom Terraform modules
Quick reference
Local development cycle
# Make infrastructure changes in environments/staging/
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 directory
mkdir -p modules/your-module
# Add standard files
touch modules/your-module/{main.tf,variables.tf,outputs.tf,versions.tf}
# Use in environment
# environments/staging/main.tf
module "your_module" {
source = "../../modules/your-module"
# ...
}
For detailed workflows and examples, explore the Guides subsections.