What command should you run to display all workspaces for the current configuration?
What command should you run to display all workspaces for the current configuration?
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.
The terraform workspace list command is used to list all existing workspaces.
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
C is correct answer. "The terraform workspace list command is used to list all existing workspaces." https://www.terraform.io/cli/commands/workspace/list
C is the answer
https://developer.hashicorp.com/terraform/cli/commands/workspace/list : C