Guides

Practical workflows for working with the AWS Terraform Starter Kit, from local development to creating reusable modules.


Overview

The Guides section covers day-to-day workflows for developing, testing, and deploying Terraform infrastructure.

Guide pages

GuideWhat you'll learn
Local DevelopmentDay-to-day commands for planning, applying, and testing infrastructure
Creating ModulesHow 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...
}
  • Configuration - Project structure and environment setup
  • Reference - Makefile commands and tool documentation
  • Install - Initial setup instructions