What is the purpose of a Terraform workspace in either open source of enterprise?
A.
Workspaces allow you to manage collections of infrastructure in state files.
B.
A logical separation of business units
C.
A method of grouping multiple infrastructure security policies
D.
Provides limited access to a cloud environment
Answer:
B
User Votes:
A 2 votes
50%
B 2 votes
50%
C
50%
D
50%
Discussions
0/ 1000
misosan1
1 month, 3 weeks ago
Correct answer A: In Terraform, a workspace is a way to manage multiple state files within the same configuration. This is especially useful when you want to:
Maintain separate environments (e.g., dev, staging, prod) using the same configuration. Avoid overwriting infrastructure by isolating state files. Test changes in a non-production environment before applying them to production.
Want to join our community?
Please log in or signup in order to use this feature
Correct answer A:
In Terraform, a workspace is a way to manage multiple state files within the same configuration. This is especially useful when you want to:
Maintain separate environments (e.g., dev, staging, prod) using the same configuration.
Avoid overwriting infrastructure by isolating state files.
Test changes in a non-production environment before applying them to production.