Files
oak-gpui/docs/src/languages/terraform.md
T
Marshall Bowers efdb769f9b terraform: Extract to zed-extensions/terraform repository (#26475)
This PR extracts the Terraform extension to the
[zed-extensions/terraform](https://github.com/zed-extensions/terraform)
repository.

Release Notes:

- N/A
2025-03-11 19:10:51 +00:00

31 lines
863 B
Markdown

# Terraform
Terraform support is available through the [Terraform extension](https://github.com/zed-extensions/terraform).
- Tree-sitter: [MichaHoffmann/tree-sitter-hcl](https://github.com/MichaHoffmann/tree-sitter-hcl)
- Language Server: [hashicorp/terraform-ls](https://github.com/hashicorp/terraform-ls)
## Configuration
<!--
TBD: Add example using `rootModulePaths` to match upstream example https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md#vs-code
-->
The Terraform language server can be configured in your `settings.json`, e.g.:
```json
{
"lsp": {
"terraform-ls": {
"initialization_options": {
"experimentalFeatures": {
"prefillRequiredFields": true
}
}
}
}
}
```
See the [full list of server settings here](https://github.com/hashicorp/terraform-ls/blob/main/docs/SETTINGS.md).