Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 53

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

    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
bicycleOption: C

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

kcw6Option: C

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

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

Power123Option: C

C is the answer

r1ckOption: C

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