tfdc-module-search
Search the Terraform module registry using tfdc. Use when you need to find Terraform modules by keyword, discover available modules for a specific purpose (e.g., VPC, EKS, S3), or get module IDs for use with tfdc module get.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
tfdc module search
Search the Terraform module registry.
Usage
tfdc module search -query <keyword> [-offset 0] [-limit 20] [-format text]
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
-query |
Yes | Search query (e.g., vpc, eks, s3) |
|
-offset |
No | 0 |
Result offset for pagination |
-limit |
No | 20 |
Max results |
-format |
No | text |
Output format: text, json, markdown |
Output fields
| Field | Description |
|---|---|
module_id |
Module ID in namespace/name/provider/version format |
name |
Module name |
description |
Module description |
downloads |
Download count |
verified |
Whether the module is verified |
published_at |
Publication timestamp |
Examples
# Search for VPC modules
tfdc module search -query vpc
# Search with JSON output
tfdc module search -query eks -format json
# Paginated search
tfdc module search -query s3 -offset 20 -limit 10
JSON output
{
"items": [
{
"module_id": "terraform-aws-modules/vpc/aws/6.6.0",
"name": "vpc",
"description": "Terraform module to create AWS VPC resources",
"downloads": 168103660,
"verified": false,
"published_at": "2026-01-08T19:16:31.278629Z"
}
],
"total": 1
}
Workflow
Use with tfdc module get to fetch full module details:
# Search
tfdc module search -query vpc -format json | jq '.items[].module_id'
# Get details
tfdc module get -id terraform-aws-modules/vpc/aws/6.6.0
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!