~/talk

Massive Terraform Imports and Why you should Avoid Building Monoliths

Talkat HashiTalks 2022 · 2022-02-17..02-18· [platform-engineering]
name:Joe Bell
links:none on file
slides:none on file

A platform team migrates a monolithic Terraform module that granted per-service-account IAM members and hits GCP's 1,500 assignment limit, forcing a migration to group-based grants. Recovery uses Terraform with the Google Workspace provider, Sentinel to extract planned addresses, a data-only workspace to read member IDs, a Python script to generate about 1800 imports, and manual runs that total roughly 24 hours. A quick flag and a cleanup remove ~300 legacy members but full migration requires blocking the workspace.

AI-written summary · about

  1. 0:00Intro
  2. 0:52Who am I
  3. 1:30Why monoliths
  4. 8:32Mitigation
  5. 10:30Google Workspace
  6. 11:22Imports
  7. 12:23Sentinel
  8. 13:40Expected Output
  9. 14:24Sentinel Policy
  10. 15:03Terraform Data Workspace
  11. 16:45Python Solution
  12. 19:11Conclusion
~/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.