In the Creating a Terraform module and using it locally recipe of this chapter, we studied how to create a module and in the previous recipe, Using a module from the public registry, of this chapter, how to use a module from the public registry.
In this recipe, we'll see how to publish a module in the public registry by storing its code on GitHub.