Chapter 8: Terraform Configuration Files
In our last chapter, we discussed Terraform modules, module use cases, and different arguments supported by the modules. We also discussed how we can contribute to the Terraform community by writing Terraform modules and getting them published to the Terraform registry so that everyone is able to consume them.
In this chapter, we are planning to discuss industry best practices for writing Terraform configuration files. While drafting Terraform configuration, we will be using our previous learning such as resources, data sources, locals, variables, and modules. Further, we will be discussing how to write a configuration file for the respective cloud platforms of GCP, Azure, and AWS.
The following topics will be covered in this chapter:
- Understanding Terraform configuration files
- Writing Terraform configuration files for GCP
- Writing Terraform configuration files for AWS
- Writing Terraform configuration files for Azure...