Discover a Registry Module and Vet It
A 4-step recipe with Terraform. We can help you get access.
Recipe · 4 steps
Discover a Registry Module and Vet It
with Terraform
Search the registry for a module and gather the signals needed to vet it.
- Search the public registry for modules matching the keyword, narrowed to the target provider and optionally to verified publishers only.
- Read the top match's latest version for the specific provider, capturing the source repository, description, and verified flag that decide adoption.
- List every version the module has published, so a long gap since the last release or a thin version history shows up before the module is adopted.
- Pull the module's download metrics as a popularity and liveness signal, distinguishing a widely used module from an abandoned one.
What you'll need to have ready
- searchQuery: The keyword or phrase to search the registry for (e.g. "vpc").
- provider: The provider to filter to (e.g. aws, azurerm, google).
- verifiedOnly: Whether to restrict results to HashiCorp-verified modules.
- resultLimit: How many search results to return, up to 100.
For your developer
Arazzo workflow terraform:discover-module, 4 operations: SearchModules → GetModuleLatestVersion → ListModuleVersions → GetModuleDownloadSummary. Specs on APIs.io.