~/talk

Misadventures with Terraform

slides:none on file

Started with Terraform v0.6 and hits include missing backend locking and import features, S3 statefiles that get big and slow, and a nasty cyclic dependency between two services that prevents rebuilding from scratch; solution: remove direct coupling by adding a third stitching state, run full end-to-end deployment tests in a dedicated infrastructure account, and refactor states by team/environment to shrink blast radius and remove a centralized gatekeeper. Recommends one module per repo, uses Terragrunt and Atlantis to fill Terraform gaps and improve CI review and orchestration.

AI-written summary · about

  1. 0:00Intro
  2. 0:41What is Terraform?
  3. 2:50Terraform Modules
  4. 3:22Terraform Statefile
  5. 3:57Terraform Plan
  6. 4:41Terraform Apply
  7. 5:59In the beginning...
  8. 6:21A few years ago...
  9. 8:47Monolith Terraform State
  10. 8:59Reusable Modules
  11. 9:39Single Resource Modules
  12. 10:13Complex Deployment
  13. 11:11Lessons Learned (small modules)
  14. 13:16Two Connected Services
  15. 13:33A Service On FIRE!
  16. 15:26Lessons Learned running code ance
  17. 17:09Terraform States and Modules
  18. 20:54Lessons Learned dividing states
  19. 22:54Terraform backend.tf
  20. 23:41Terraform Code Repo
  21. 28:18Terragrunt Code Repo
  22. 28:48Lessons Learned (repo structures)
  23. 29:32Additional Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.