You are responsible for creating and modifying the Terraform templates that define your Infrastructure. Because two new engineers will also be working on the same code, you need to define a process and adopt a tool that will prevent you from overwriting each other's code. You also want to ensure that you capture all updates in the latest version. What should you do?
Select one answer.
Marked answer: B
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B1
B. Terraform state should never be on a dev machine.. Instead it should be hosted on a sever that is access controlled and updated from latest git commit
Chose B2
Option B
Chose B1
B is correct because the terraform source file they must be versioned with Git control, Furthermore, changes must be merged and approved before going into production