~/talk

Keep your terraform code DRY

Talkat DevOpsDays Kraków 2024 · 2024-03-18..03-19· [infrastructure-as-code]
links:none on file
slides:none on file

A migration replaces duplicated per-environment Terraform directories with a single codebase plus per-environment config files, using Terraform, Terragrunt, generated templates, an S3/DynamoDB remote state and Atlantis automation, and it covers about 45 services × 5 envs. Results cut examples from 3,300→256 lines and from 1,600→135 lines, speeds PR review and cross‑env comparison, and lets non‑experts change simple config. Tradeoffs are an upfront rebuild, trickier template debugging, and limits when environments are not identical.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:47SayNow product and challenges
  3. 4:56Original Terraform structure issues
  4. 7:06Motivation for DRY principles
  5. 11:27DRY approach explained
  6. 15:46Demo setup and configuration
  7. 21:27Practical implementation
  8. 28:22Results and code reduction
  9. 29:05Advantages of DRY code
  10. 31:36Disadvantages and edge cases
  11. 33:44Applying changes with Atlantis
  12. 37:23Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.