Terraform Providers and the Terraform Plugin Framework with Jacob Bednarz
Host(s): John Bristowe (@jbristowe)
Guest(s): Jacob Bednarz (@jacobbednarz)
In this episode of Inside DevOps, John Bristowe has an in-depth discussion with Jacob Bednarz about the joys and frustrations 😉 of building and maintaining a Terraform provider. They discuss the nuances of the Terraform Plugin SDK vs the Terraform Plugin Framework and share a number of tips and tricks worth knowing when building a Terraform provider.
Jacob Bednarz is a System Engineer for Cloudflare. He maintains the Terraform provider for Cloudflare.
CHAPTERS:
0:00 Introduction
1:08 What is Cloudflare?
2:23 Cloudflare Provider on Terraform Registry
2:50 Cloudflare API
2:23 Cloudflare Provider on Terraform Registry (Redux)
3:20 Terraform 101
5:50 Back to the Cloudflare Provider for Terraform
6:02 What is a Terraform Provider?
7:05 Octopus REST API
8:11 Back to the Cloudflare Provider for Terraform (Again)
9:38 Cloudflare Go API client
11:28 Terraform Plugin SDK v2
14:30 Terraform Plugin Framework
19:39 Muxing/Multiplexing for Terraform Protocols
24:06 Code example for Multiplexing (Octopus Deploy Provider)
26:23 Migrating to Terraform Plugin Framework
27:30 Code example (Cloudflare Provider)
28:40 Terraform Provider Scaffolding Framework
29:14 Terraform Provider Corner
30:50 Miscellaneous tips and tricks
33:20 Cloudfare Provider (Redux)
35:14 Documentation and Schemas
37:15 Example: Models and Schema in Plugin Framework
39:37 Example: Models in Cloudflare Provider
41:35 Plan modifiers and validators
44:10 Schema attributes and blocks
48:08 Create resources
53:56 Read resources
54:30 Update and delete resources
55:13 Managing private state
55:56 Import state
57:35 Doc generation
1:00:06 Random highlights
1:02:41 Migration tips
1:04:04 Wrapping up
REFERENCES:
https://www.cloudflare.com/
https://registry.terraform.io/
https://registry.terraform.io/provide...
https://developers.cloudflare.com/api
https://terraform.io/
https://octopus.com/docs/octopus-rest...
https://github.com/cloudflare/cloudfl...
https://github.com/OctopusDeploy/go-o...
https://github.com/hashicorp/terrafor...
https://developer.hashicorp.com/terra...
https://developer.hashicorp.com/terra...
https://developer.hashicorp.com/terra...
https://github.com/OctopusDeployLabs/...
https://github.com/hashicorp/terrafor...
https://github.com/hashicorp/terrafor...
https://github.com/hashicorp/terrafor...
#cloudflare
#hashicorp
#infrastructureascode
#octopusdeploy
#terraform
Watch video Terraform Providers and the Terraform Plugin Framework with Jacob Bednarz online without registration, duration hours minute second in high quality. This video was added by user Octopus Deploy 14 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,42 once and liked it 2 people.