Let's dive into Terraform provider creation
summary
Step-by-step demo converts a simple REST API serving "gophers" into a working Terraform provider: Swagger-based API stubs, provider scaffold, and local builds produce a provider in Go using the Terraform Plugin SDK v2. The provider implements data sources + CRUD resources, installs via the local plugin path, runs acceptance tests against the live API, and uses generated docs and examples. GitHub and Gitpod host the code and the live demo environment so the provider is reproducible.
AI-written summary · about
chapters (11)
- 0:00Introduction and speakers
- 2:34What is Terraform
- 10:17Why create a provider
- 12:39Live coding setup
- 22:57Scaffolding a provider
- 26:35Adding data sources
- 33:12Defining resources
- 37:32Testing the provider
- 38:58Real-world provider example
- 39:40Best practices for providers
- 45:04Closing and Q&A
related talks
01h 04mBuild your own Terraform provider
26mEverything as Code with Terraform
23mWhen Infrastructure as Code Ends: Creating Terraform Providers
24mHow to Build a Usable Terraform Provider in 20 hours
29mHow to Write a Modern Terraform Provider: Tools and Patterns
01h 23mAutomating your Infrastructure Deployments in the Google Cloud, Azure & AWS w/ Terraform
34mTerraform: A Novel About Modules, Providers, Security, and Pain
01h 03mTerraforming the world, one cloud at a time.
