Summary
In this chapter, you learned about the Terraform backend configuration, which is used to store the Terraform state file, provisioners, which are mainly used to run some sort of script, and built-in functions, which are used to transform data into the desired form so that it can be used in other code configuration blocks. Moving on, we learned how you can perform different kinds of iteration using for
and other loops in Terraform, which are helpful when you are looking to provision multiple resources at a time. Then, finally, we discussed Terraform debugging, where you can set the TF_LOG
Terraform environment variable to some log level and store it in the provided destination accordingly by defining the Terraform environment variable, such as TF_LOG_PATH
.
In the next chapter, we will discuss the authentication of Terraform to Azure, AWS, and GCP. Moving on, we will also be discussing the use of the Terraform CLI, where we will see how we can run different Terraform workflow...