Complete the code to select the default Terraform workspace.
terraform workspace select [1]The default workspace in Terraform is named default. Selecting it uses the default environment.
Complete the code to create a new workspace named 'test'.
terraform workspace [1] testUse terraform workspace new to create a new workspace.
Fix the error in the command to list all workspaces.
terraform workspace [1]The correct command to list workspaces is terraform workspace list or its shorthand ls. Here, 'list' is the standard command.
Fill both blanks to create and switch to a new workspace named 'prod'.
terraform workspace [1] prod && terraform workspace [2] prod
First, create the workspace with new, then switch to it with select.
Fill all three blanks to delete the workspace named 'old' and switch to default.
terraform workspace [1] old && terraform workspace [2] [3]
Delete the 'old' workspace, then switch to the 'default' workspace.
