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
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!