© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
R. SalechaPractical GitOpshttps://doi.org/10.1007/978-1-4842-8673-9_3

3. Introduction to Terraform

Rohit Salecha1  
(1)
Mumbai, India
 

In the previous chapters, we looked at how an EC2 machine can be created using the GUI as the CLI interface. In this chapter, we’ll understand what Terraform is and how using Terraform we’ll create the exact same EC2 machine with the exact same configuration without using CLI/GUI consoles.

3.1 Prerequisites

From here onward, I’ll be showing a lot of code snippets that can be downloaded from the GitHub link shared earlier. It is recommended that you get hold of the following before moving ahead as all will be required henceforth ...

Get Practical GitOps: Infrastructure Management Using Terraform, AWS, and GitHub Actions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.