Custom Terraform Provider Design: Part 03

Sourav Patnaik
2 min readFeb 11, 2022
Custom Terraform Provider in Terraform Registry

We are going to Publish our Custom Terraform Provider into Terraform Registry.

In Part 01, we have covered the basics of Infrastructure as Code (IaC), we learned about Terraform and how it works.

In Part 02, we have written our Custom Terraform Provider named terraform-provider-avengers which manages our avengers-backend application. We have tested locally our custom provider. Now It’s time to Publish our Custom Provider to Terraform Registry so that we can easily access and use. The process is similar to publishing your Docker Image to Docker Registry after successfully build and test that image locally in your system or in any environment.

There’s an excellent article on Release and Publish a Provider to the Terraform Registry in Terraform’s website. I have followed all the steps mentioned and published my custom Terraform Provider into Terraform Registry. There after i used the published custom provider to manage my avengers-backend application and it was successful.

Ref: Release and Publish a Provider to the Terraform Registry

Thank You So much for showing your interest on learning IaC and creating Custom Terraform Provider. I hope my articles helped you to some extent, any comments and suggestions are welcome.

I also have published the same content in my LinkedIn account, Please check.

Sourav Patnaik

--

--