Terraform Cloud's private registry works similarly to the public Terraform Registry and helps you share Terraform providers and Terraform modules across your organization. It includes support for versioning, a searchable list of available providers and modules, and a configuration designer to help you build new workspaces faster.
Hands-on: Try the Add Public Providers and Modules to your Private Registry tutorial and Share Modules in the Private Registry tutorials on HashiCorp Learn.
»Public Providers and Modules
Public modules and providers are hosted on the public Terraform Registry and Terraform Cloud can automatically synchronize them to an organization's private registry. This lets you clearly designate which public providers and modules are recommended for the organization and makes their supporting documentation and examples centrally accessible.
Note: Public providers and modules are available in Terraform Enterprise v202012-1 and later. Your instance must allow access to registry.terraform.io and https://yy0ffni7mf-dsn.algolia.net/.
Private modules are hosted on an organization's private registry and are only available to members of that organization. In Terraform Enterprise, they are also available to other organizations that are configured to share modules with that organization.
You can create Sentinel policies to manage how members of your organization can use modules from the private registry. For example, you can mandate that all non-root modules in Terraform configurations must be private or public modules from your own private registry. You can even require that all of those modules use recent versions with a policy like this example on GitHub.