Back to LSP Servers

terraform-ls

stdio
terraformterraform-vars

Used by 3 plugins

Requires Language Server Binary

This LSP server requires ${CLAUDE_PLUGIN_ROOT}/scripts/lsp-entrypoint.sh to be installed on your system. Make sure it's available in your PATH before enabling.

Install
1
Run in your terminal
$
npx claudepluginhub thebushidocollective/han
Add to Your Project

Add to your .lsp.json or plugin.json:

{
  "lspServers": {
    "terraform-ls": {
      "command": "${CLAUDE_PLUGIN_ROOT}/scripts/lsp-entrypoint.sh",
      "extensionToLanguage": {
        ".tf": "terraform",
        ".tfvars": "terraform-vars"
      },
      "args": [
        "serve"
      ]
    }
  }
}
Supported Languages
terraform
.tf
terraform-vars
.tfvars
Command
${CLAUDE_PLUGIN_ROOT}/scripts/lsp-entrypoint.sh
Transport
stdio
Arguments
serve
Advanced Configuration
Restart on Crash:Yes

Initialization Options:

{
  "indexing": {
    "ignorePaths": [
      "**/node_modules/**",
      "**/.git/**",
      "**/vendor/**",
      "**/.terraform/**",
      "**/dist/**",
      "**/build/**",
      "**/.next/**",
      "**/out/**"
    ]
  }
}
Also used by 2 other plugins
jutsu-terraform
71
terraform-ls
1
Plugins using this server (3)
terraform
91
jutsu-terraform
71
terraform-ls
1
Actions

Product

  • Browse Plugins
  • Marketplaces
  • Pricing
  • About
  • Contact

Resources

  • Learning Center
  • Claude Code Docs
  • Plugin Guide
  • Plugin Reference
  • Plugin Marketplaces

Community

  • Browse on GitHub
  • Get Support

Admin

  • Admin Panel

Legal

  • Terms of Service
  • Privacy Policy
Community Maintained•Not affiliated with Anthropic

© 2025 ClaudePluginHub

ClaudePluginHub
ClaudePluginHub
ToolsLearn
Search everything...