Tfdc Provider Get

Fetch full Terraform provider documentation content by provider_doc_id using tfdc. Use when you have a provider_doc_id from a previous search and need the complete documentation content for a specific resource, data source, or other provider doc. Use when this capability is needed.

tomevault-io Updated

File contents

tfdc provider get

Fetch full provider doc content by provider_doc_id.

Usage

tfdc provider get -doc-id <id> [-format text]

Flags

Flag Required Default Description
-doc-id Yes Numeric provider doc ID (from provider search)
-format No text Output format: text, json, markdown

Examples

# Fetch doc as plain text (default)
tfdc provider get -doc-id 10595066

# Fetch as structured JSON
tfdc provider get -doc-id 10595066 -format json

# Fetch as markdown
tfdc provider get -doc-id 10595066 -format markdown

JSON output

{
  "id": "10595066",
  "content": "# Resource: aws_instance\n\nProvides an EC2 instance resource...",
  "content_type": "text/markdown"
}

Workflow

Typically used after tfdc provider search:

# Search for the resource
tfdc provider search -name aws -service instance -type resources -format json

# Get the full doc by ID
tfdc provider get -doc-id 10595066

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/mkusaka--tfdc--tfdc-provider-get commit 3ccdc8470e

Frequently asked questions

npx skillmds@latest add tomevault-io/tfdc-provider-get