Process Flow - Creating and switching workspaces
Start Terraform CLI
Check current workspace
Create new workspace?
No→Use current workspace
Yes
Run 'terraform workspace new <name>'
Workspace active
Apply Terraform changes in workspace
End
This flow shows how Terraform starts, checks or creates a workspace, switches to it, and applies changes there.