~/talk

Hacking Terraform - Engineer your Migration to IaC

Talkat DevOps Gathering 2020 · 2020-03-09..03-11· [devops-and-delivery]
links:none on file
slides:none on file

Shows a reproducible way to move existing cloud resources into Terraform by importing resource IDs into state, producing a plan and reading its JSON and the provider schema, then running a 60-line code generator to emit HCL. Uses Terraform CLI commands like terraform import --allow-missing-config and terraform show -json, automates with Kotlin + JUnit and jq/JSONPath, targets Azure in the demo, scales to hundreds or thousands of resources, requires small manual fixes (secrets, provider quirks) but successfully yields a working codebase.

AI-written summary · about

  1. 0:00Introduction to Terraform migration
  2. 1:53Why migrate to Terraform
  3. 4:03How Terraform works internally
  4. 9:00Reverse engineering Terraform state
  5. 14:54Picking cloud resources for import
  6. 21:30Importing resources into state
  7. 28:59Generating Terraform code
  8. 37:14How the code generator works
  9. 40:46Lessons learned from automation
  10. 42:17Future of Terraform import
~/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.