Complete the code to set the Terraform workspace name to "production".
terraform workspace select [1]The command terraform workspace select production switches to the workspace named "production".
Complete the code to create a new Terraform workspace named "staging".
terraform workspace [1] stagingThe command terraform workspace create staging creates a new workspace called "staging".
Fix the error in the command to switch to the "dev" workspace.
terraform workspace [1] devTo switch to an existing workspace, use terraform workspace select dev.
Fill both blanks to list all Terraform workspaces and then switch to the "test" workspace.
terraform workspace [1] terraform workspace [2] test
The first command terraform workspace list shows all workspaces. The second command terraform workspace select test switches to the "test" workspace.
Fill all three blanks to create a new workspace named "qa", switch to it, and then show the current workspace.
terraform workspace [1] qa terraform workspace [2] qa terraform workspace [3]
First, terraform workspace new qa makes the new workspace. Then, terraform workspace select qa switches to it. Finally, terraform workspace show displays the current workspace name.