ExamGecko
Question list
Search
Search

Question 128 - Terraform Associate 003 discussion

Report
Export

You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?

A.
Terraform data sources
Answers
A.
Terraform data sources
B.
Terraform local values
Answers
B.
Terraform local values
C.
Terraform modules
Answers
C.
Terraform modules
D.
Terraform workspaces
Answers
D.
Terraform workspaces
E.
None of the above
Answers
E.
None of the above
Suggested answer: D

Explanation:

Terraform workspaces allow you to create multiple states but still be associated with your current code. Workspaces are like ''environments'' (e.g. staging, production) for the same configuration. You can use workspaces to spin up a copy of your production deployment for testing purposes without having to configure a new state backend. Terraform data sources, local values, and modules are not features that allow you to create multiple states.Reference=WorkspacesandHow to Use Terraform Workspaces

asked 18/09/2024
Angelica Caldeo
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first