~/talk

Re-potting Overgrown Terraform Repositories

Talkat HashiTalks 2021 · 2021-02-17..02-18· [devops-and-delivery]
slides:none on file

Demo splits a mono Terraform repo into two and then grafts them back using an AWS S3 backend with keys demo starting repo and demo web application, wrapper bash scripts, and Terraform state commands. The workflow copies state on init, uses Terraform state remove to strip modules (non‑destructively) from each state, and later uses Terraform state move to merge module.web_application back. End state matches deployed resources (plans show no changes). Sample repo: github.com/kristin-smith/terraform-demo.

AI-written summary · about

  1. 0:00Introduction to repotting
  2. 1:07Why repot Terraform repositories
  3. 4:16Signs your repo is too big
  4. 8:30Signs your repo is too small
  5. 9:54Tools for splitting repositories
  6. 13:09Demo splitting the mono repo
  7. 17:40Demo rejoining split repos
  8. 22:46Key takeaways and conclusion
~/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.