Dos minutos de silencio

Event: Kubernetes Community Days Spain Date: 11/16/2022

Summary

Many teams use Terraform to provision infrastructure, but managing the lifecycle of multiple environments in a scalable and automated way introduces additional challenges. In this talk, we explain how we designed a GitOps style workflow where environment definitions live in Git, repository changes automatically trigger deployments, and the system can also operate independently of the CI pipeline.

To achieve this, we built a second Terraform project that integrates directly with Terraform Cloud, automating workspace creation, variables, triggers, and the relationships between repositories and infrastructure. We will cover the architecture, the design decisions we made, and the lessons learned while building a reusable solution that we are planning to open source for the community.