Hashicorp Certified Terraform Associate 003 · Free Practice Question Easy
Question 11
True or False? In Terraform Community, workspaces generally use the same code repository while workspaces in Terraform Enterprise/Cloud are often mapped to different code repositories.
-
A
False
-
B
True
Reveal correct answer
Correct answer: B
Explanation
Workspaces in Terraform Community are often used within the same working directory while workspaces in Enterprise/Cloud are often (but not required) mapped to unique repos.
https://developer.hashicorp.com/terraform/language/state/workspaces
https://developer.hashicorp.com/terraform/cloud-docs/workspaces
A.
In Terraform Community, workspaces are commonly used with the same code repository, while in Terraform Enterprise/Cloud, workspaces are often associated with different code repositories to enable better separation and management of configurations for various projects or teams.
B. True. In Terraform Community, workspaces typically share the same code repository, allowing multiple environments or configurations to be managed within the same repository. On the other hand, in Terraform Enterprise/Cloud, workspaces are often mapped to different code repositories to provide better isolation and organization for different projects or teams.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
