Build reusable modules, manage Terraform state with an S3 backend, and run multiple environments with workspaces.
Terraform Modules
Group resources into reusable modules, pass inputs, expose outputs, and call local modules from a root configuration.
Terraform State Management
Understand terraform.tfstate, inspect it with state commands, and store remote state in S3 with locking for team collaboration.
Terraform Workspaces
Run multiple environments from one codebase with separate state per workspace — and avoid replacing prod when you meant to create dev.
Day 3 Project & Assignment
Build VPC, EC2, and S3 modules with remote state and workspaces — then complete the Day 3 assignments.