~/talk

How to Build a Usable Terraform Provider in 20 hours

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

Built live on Twitch over 10 two-hour sessions, a usable Terraform provider for Fire Hydrant reaches working status in about 20 hours and publishes to the Terraform registry with six resource types and matching data sources. Code uses Go, accepts that you will type interface a lot, and benefits from copying early, mapping provider schema to the API, and switching to Terraform acceptance tests. Documentation is generated with tf plugin docs, leaving examples and gotchas for manual polishing.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:45Live stream build process
  3. 3:56Challenges faced building
  4. 5:24Don’t over-abstract schemas
  5. 8:11API schema must match provider
  6. 9:36Embrace acceptance tests early
  7. 12:28Expect many interface uses
  8. 13:51Learn from large providers
  9. 15:37Auto-generate docs with tf plugin docs
  10. 17:27Terraform conventions mastery
  11. 18:31Start with simplest resources
  12. 20:57Final results and insights
  13. 22:20Q&A and closing
~/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.