CI/CD with Terraform, GitHub, and Atlantis
In this chapter, we are going to build on the previous chapters in this book by introducing pipelines for continuous integration (CI) and continuous deployment (CD). There are many CI and CD tools available for you, both open source and closed source, as well as self-hosted and Software-as-a-Service (SaaS). We are going to demonstrate an example pipeline, starting from committing source to the repository where we store Terraform code to applying changes in your infrastructure. We will do this automatically but with reviews from your team.
In this chapter, we are going to cover the following topics:
- What is CI/CD?
- Continuously integrating and deploying your infrastructure
- CI/CD with Atlantis