Chapter 5: Terraform CLI
In the previous chapter, we discussed the Terraform backend, Terraform provisioner, Terraform loops (iterations), and Terraform built-in functions. In this chapter, we are going to discuss the Terraform command-line interface (Terraform CLI), which is an open source software maintained and supported by HashiCorp. We will further see how we can authenticate the Terraform CLI with major cloud providers such as Azure, Amazon Web Services (AWS), and Google Cloud Platform (GCP). In the later sections, we will discuss some of the Terraform CLI commands and try to understand the importance of each command.
The following topics will be covered in this chapter:
- Introduction to the Terraform CLI
- Integrating with Azure
- Integrating with AWS
- Integrating with GCP
- Understanding the Terraform CLI commands