7 CI/CD pipelines as code

This chapter covers

  • Designing a CI/CD pipeline as code on GCP
  • Two-stage deployments for separating static and dynamic infrastructure
  • Iterating over complex types with for_each expressions and dynamic blocks
  • Implicit vs. explicit providers
  • Creating custom resources with local-exec provisioners

CI/CD stands for continuous integration (CI) / continuous deployment (CD). It refers to the DevOps practice of enforcing automation in every step of software delivery. Teams that practice a culture of CI/CD are proven to be more agile and able to deploy code changes more quickly than teams who do not practice a culture of CI/CD. There is also the ancillary benefit of improving software quality, as faster code delivery tends ...

Get Terraform in Action 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.