A CLI workspace lets one configuration and one backend hold several independent states. Every working directory starts in a workspace called default. When you create another workspace, Terraform starts a separate, empty state for it, so the same code can manage a second copy of the infrastructure without the two interfering.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.