Terraform Providers and the Terraform Plugin Framework with Jacob Bednarz

preview_player
Показать описание
Terraform Providers and the Terraform Plugin Framework with Jacob Bednarz

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:

#cloudflare
#hashicorp
#infrastructureascode
#octopusdeploy
#terraform
Рекомендации по теме
Комментарии
Автор

Can you share the "Why HCL and not other things" blog mentioned in 5:05

UmutGerçek-pn
Автор

Jacob is the smartest human I've met.

sachinfernandes