Add public providers and modules to your private registry
Providers and modules are the building blocks of Terraform configuration, and the Terraform ecosystem has a robust library of each for you to use. As you develop your infrastructure, you may rely on more modules and providers to provision your resources, and a growing library of components can make it hard to find the modules and providers you need. HCP Terraform's private registry allows you to curate the modules and providers your organization uses, which make approved modules and providers easier to find.
Curating public modules and providers in your private registry lets you define a list of approved components for your organization to use. It also lets your team find all documentation related to those components in one place, and makes it easier to track new releases and changes.
In this tutorial, you will add a public Terraform module and provider to your organization's private registry. You will review the details for these components in the private registry and how to remove the provider and module from your registry. In the process, you will learn how to use the registry to curate your organization's resources and adopt a consistent development workflow.
Prerequisites
For this tutorial, you will need an HCP Terraform account and organization owner access.
Add public provider to private registry
In your HCP Terraform dashboard, click on Registry in the top menu bar, then click on Search public registry.