Process Flow - Workspaces vs directory-based separation
Start: Choose separation method
Use Workspaces
Single directory
Switch workspace
Isolate state files
Use directory-based
Multiple directories
Separate configs & states
Manage independently
You start by choosing how to separate your Terraform environments: either by switching workspaces in one directory or by using separate directories for each environment.