Terraform Dependency Analyzer

🌐Community
by armanzeroeight · vlatest · Repository

Analyzes Terraform code to identify dependencies, potential conflicts, and resource naming inconsistencies for improved infrastructure management.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add terraform-dependency-analyzer npx -- -y @trustedskills/terraform-dependency-analyzer
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "terraform-dependency-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/terraform-dependency-analyzer"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The Terraform Dependency Analyzer skill analyzes Terraform code to identify and list all dependencies. It extracts module sources, providers, and any other external resources used within a Terraform configuration. This allows for better understanding of the codebase and potential impact from changes or updates.

When to use it

  • Auditing Terraform Code: Quickly generate a complete dependency report for existing infrastructure code.
  • Identifying External Modules: Determine all modules being utilized in a project, including their sources (e.g., Git repositories).
  • Assessing Upgrade Impact: Understand which providers or modules need to be updated when new versions are released.
  • Security Review: Identify potential security risks associated with external dependencies.

Key capabilities

  • Dependency extraction from Terraform code
  • Identification of module sources (e.g., Git repositories)
  • Listing of provider versions
  • Comprehensive dependency reporting

Example prompts

  • "Analyze the Terraform configuration at /path/to/main.tf and list all dependencies."
  • "What modules are used in this Terraform project?"
  • "Generate a report of all providers and their versions from my Terraform code."

Tips & gotchas

The skill requires access to the Terraform code being analyzed. Ensure the AI agent has appropriate permissions to read the files or repository containing the configuration.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
armanzeroeight
Installs
6

🌐 Community

Passed automated security scans.