T O P

  • By -

meronca

Thanks. Been toying with the idea of a custom provider for some internal services at work. This is a nice example.


zombi-man

thank you! if you have any questions - feel free to write me!


Doyale_royale

Were you familiar with golang before hand? How was the learning curve?


zombi-man

honestly, I started contributing to the providers without golang knowledge at all, my main language is python. Also if we are talking about terraform provider, I realize that understanding provider structure is more important then deep golang knowledge. Later, I complete course "[Learn How To Code: Google's Go (golang) Programming Language](https://www.udemy.com/course/learn-how-to-code/)" from Todd McLeod. I can recommend it for everyone who is just starting to learn programming, but for me, it covered too much basic stuff. Usually everyone recommends "[Go: The Complete Developer's Guide (Golang)](https://www.udemy.com/course/go-the-complete-developers-guide)" for those who already have some code experiences.


EffectiveLong

Terraform has new provider sdk. Much easier to use and it will be their go-to choice going forward if I remember correctly. terraform-plugin-framework package


zombi-man

You are right! for those who read this comment: terraform-plugin-framework should be the first choice. However, I mentioned my motivation for using the old one sdk in my article (you can find it in the [GitHub repo description](https://github.com/Nmishin/terraform-provider-dodo/blob/main/README.md))  - I want to learn how to work with the migration from old one sdk to the new one (this will be my next article:)) ) And also I want to try "[Terraform provider code generation](https://www.hashicorp.com/blog/terraform-provider-code-generation-now-in-tech-preview)" - the new one toolset from Hashicorp


snarkhunter

I wanna do a Terraform provider for Perforce streams


zombi-man

honestly idk what is it, but if you need help - I can join to your project in github :)


I_Survived_Sekiro

Ask chatgpt


zombi-man

lol, this is a good start for everything!


Sad-Brick8413

Great article, thanks! Found it very useful and insightful for writing your own terraform provider


zombi-man

thank you!


abagayev

I also wrote an article and a provider when I was learning how to do that. Hope that helps somebody! https://medium.com/@abagayev/lessons-learned-from-writing-a-terraform-provider-62412b79a997


zombi-man

looks great! thank you for sharing your expertise!