Terraform solves all of the problems mentioned in the last lesson by defining infrastructure in code. The code represents the state of your infrastructure. When you run Terraform against your code, it will update your environment to exactly reflect what you have specified in the code. This means Terraform’s results are reproducible every time.