~/talk

The 'Data, Transformations, and Resources' Pattern in Terraform

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

Shows that by modeling your domain as data, then using Terraform 0.12 features to transform that data into provider inputs, you avoid massive copy‑paste and fragile indexed resources. Concrete techniques: use typed structured values, flatten + distinct to derive unique lists, nested for expressions to build pair records, set subtract/intersect for conditional creation, and iterate with each.key / each.value so resources are maps you can chain. Terraform 0.13 adds for_each on modules, letting most modules disappear.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07Terraform 11 limitations
  3. 2:10Terraform 12 features
  4. 5:00Collections and iteration
  5. 7:52Chaining resources
  6. 10:46Modules in Terraform 13
  7. 11:07Set operations
  8. 13:16For expressions
  9. 15:44Data transformations pattern
  10. 21:50Benefits of the pattern
  11. 22:35Summary and Q&A
~/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.