Publishing Modules to a Registry
Share reusable Terraform modules across teams by versioning them in Git and publishing to the public or a private module registry.
Beyond Local Modules
Local modules live in a folder next to your config. To share modules across projects and teams you publish them to a module registry so consumers can pull them by name and version, just like a package manager.
Module Sources
The source argument decides where Terraform fetches a module from. Options include:
- A local path
- A Git repository
- The Terraform public registry
- A private registry in Terraform Cloud
All lessons in this course
- Introduction to Terraform Modules
- Creating Reusable Modules
- Using Workspaces for Environments
- Publishing Modules to a Registry