Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 53


What command should you run to display all workspaces for the current configuration?

Show Answer
Correct Answer: C

The correct command to display all workspaces for the current configuration is 'terraform workspace list'. This command will list all existing workspaces in the current environment.

Discussion

5 comments
Sign in to comment
bicycleOption: C
Dec 12, 2023

The terraform workspace list command is used to list all existing workspaces.

kcw6
Feb 4, 2024

terraform workspace -help Usage: terraform [global options] workspace new, list, show, select and delete Terraform workspaces. Subcommands: delete Delete a workspace list List Workspaces new Create a new workspace select Select a workspace show Show the name of the current workspace

EltoothOption: C
Dec 27, 2023

C is correct answer. "The terraform workspace list command is used to list all existing workspaces." https://www.terraform.io/cli/commands/workspace/list

r1ck
Aug 25, 2024

https://developer.hashicorp.com/terraform/cli/commands/workspace/list : C

Power123
Oct 1, 2024

C is the answer