Home » HashiCorp » Terraform Associate » Which of the following commands will the user run to switch to the dev workspace?
A user creates three workspaces from the command line – prod, dev, and test. Which of the following commands will the user run to switch to the dev workspace?
A. terraform workspace dev
B. terraform workspace select dev
C. terraform workspace -switch dev
D. terraform workspace switch dev
Correct Answer: B
Explanation/Reference:
Explanation:
The terraform workspace select command is used to choose a different workspace to use for further operations. https://www.terraform.io/docs/commands/workspace/select.html
Download Printable PDF. VALID exam to help you PASS.
|
|