Self-service PR-based Automated Terraform
summary
Describes a PR-driven Terraform workflow that runs plans and applies from a central executor, comparing Atlantis, Terraform Cloud and m0. Shows concrete demos: creating buckets and deleting DNS records, locking concurrent PRs, enforcing apply requirements, and queuing execution to avoid state collisions. Highlights credential design (service accounts to the executor), pre-merge vs post-merge apply behavior, UI approval steps, and a Python MFA workaround for expiring tokens. Discusses hosting, auditability, and tradeoffs for self-hosting versus managed services.
AI-written summary · about
chapters (14)
- 0:00Introduction and welcome
- 0:23Self-service Terraform challenges
- 4:35PR workflow with Terraform
- 10:52Overcoming Terraform complexity
- 12:57Atlantis vs Terraform Cloud vs n0
- 18:30Why not CI for Terraform
- 21:36Centralized execution benefits
- 24:04Practical demo with Atlantis
- 25:51n0 workflow demonstration
- 27:56Terraform Cloud demo
- 29:00Advantages of PR-based workflow
- 29:42Drawbacks and considerations
- 30:45Summary and tool comparisons
- 32:10Q&A and closing
