In the previous chapter, we were introduced to Terraform using a simple example of spinning up an EC2 machine on AWS. We also learned about a few best practices of writing a Terraform code through three different iterations. However, what we learned in the previous chapter was suitable for individual testing and development as the terraform state that stores all the information about the cloud infrastructure that has been set up is stored locally in the developer’s machine.
Terraform state, as we’ll learn ...