~/talk

Build your own Terraform provider

Talkat HashiConf 2025 · 2025-09-24..09-26· [devops-and-delivery]
name:Tu Nguyen
links:none on file
slides:none on file

Hands-on lab shows how to build a Terraform provider in Go using the Go plugin framework to manage a fake Hashicups REST API: implement authentication, create a new order resource (create/read/update/delete resource), add a coffees data source, wire a client library, and test locally with go install and Terraform init/apply/destroy. Uses the official scaffold, demonstrates pointing Terraform to a local provider via .terraformrc, and verifies state changes (orders created, updated, deleted) end-to-end.

AI-written summary · about

  1. 0:00Workshop introduction
  2. 1:26Terraform overview
  3. 3:48The role of providers
  4. 5:22When to build a provider
  5. 8:14Lab scenario setup
  6. 10:07Provider internals
  7. 14:23Plugin framework intro
  8. 16:08Hands-on setup
  9. 21:50Implementing the provider
  10. 28:55Defining resources
  11. 32:19Implementing CRUD operations
  12. 43:20Provider installation and testing
  13. 48:48Adding data sources
  14. 55:40Implementing delete and wrap-up
~/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.