HashiCorp's official language server for Terraform, giving any LSP editor completion, diagnostics and navigation
open sourceMPL-2.0free
terraform-ls, the official language server for Terraform, maintained by HashiCorp. It gives any editor that speaks the Language Server Protocol IDE features for Terraform configurations, and HashiCorp's VS Code extension runs it. Not every LSP feature is available yet; the project publishes a feature matrix and ships incremental updates. Telemetry is collected only when the client asks for it at initialization. MPL-2.0 licensed.
Problems it solves
- get Terraform autocompletion and error checking in my editor
- use Terraform with Neovim or another LSP editor
- jump to Terraform resource and module definitions while editing
Features
- Language Server Protocol server for Terraform
- IDE features for any LSP client
- used by HashiCorp's Terraform extension for VS Code
Limitations
- Not all LSP language features are available yet1
Alternatives
The same job
These do what Terraform Language Server does.
- Pyrefly A fast type checker and language server for Python, written in Rust
- Eclipse LemMinX An XML language server for any editor that speaks the Language Server Protocol
