Back to Zed

Terraform

docs/src/languages/terraform.md

0.228.0873 B
Original Source

Terraform

Terraform support is available through the Terraform extension.

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.