Complete the code to select the Terraform workspace named 'production'.
terraform workspace [1] productionThe command terraform workspace select production switches to the 'production' workspace.
Complete the code to create a new Terraform workspace called 'staging'.
terraform workspace [1] stagingThe command terraform workspace create staging creates a new workspace named 'staging'.
Fix the error in the command to show the current workspace.
terraform workspace [1]The command terraform workspace show displays the current workspace.
Fill both blanks to list all workspaces and then switch to the 'dev' workspace.
terraform workspace [1] terraform workspace [2] dev
First, terraform workspace list shows all workspaces. Then, terraform workspace select dev switches to the 'dev' workspace.
Fill all three blanks to create a workspace 'test', switch to it, and then show the current workspace.
terraform workspace [1] test terraform workspace [2] test terraform workspace [3]
Use create to make 'test' workspace, select to switch to it, and show to confirm the current workspace.