HashiCorp Certified: Terraform Associate — Question 67
What command should you run to display all workspaces for the current configuration?
Answer options
- A. terraform workspace
- B. terraform workspace show
- C. terraform workspace list
- D. terraform show workspace
Correct answer: C
Explanation
The command 'terraform workspace list' is specifically designed to display all available workspaces for the current configuration, which is why it is the correct answer. The other options either do not list workspaces or are not valid commands for this purpose.