© 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_5

5. Terraform Automation with Git

Rohit Salecha1  
(1)
Mumbai, India
 

In the previous chapter, we looked at how terraform state can be stored remotely to allow for collaboration with a larger team. However, just having the state configured remotely won’t help much as we also need the teams to collaborate with their code changes. We need a mechanism wherein the developers can push their code into an SCM (Source Code Management) repository and view/approve each other’s changes before executing terraform. Git allows for full collaborative workflows; hence, in this chapter, we’ll look at two different ...

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.