terraform-associate question 306 discussion

View all HashiCorp Certified: Terraform Associate Exam here
back to hashicorp forum

Question 306

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
Answer:

B


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

User Votes:
A
50%
B 1 votes
50%
C
50%
D
50%
Discussions
0 / 1000
sunil123
1 day, 20 hours ago

terraform workspace select dev