Metadata-Version: 2.4
Name: rbtr-lang-hcl
Version: 2026.9.0.dev3
Summary: rbtr — HCL / Terraform language plugin
Keywords: code-search,code-index,tree-sitter,static-analysis,semantic-search,developer-tools,hcl,terraform
Author: Alejandro Giacometti
Author-email: Alejandro Giacometti <alejandro.giacometti@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Text Processing :: Indexing
Classifier: Typing :: Typed
Requires-Dist: rbtr==2026.9.0.dev3
Requires-Dist: tree-sitter-hcl
Requires-Python: >=3.13
Project-URL: Homepage, https://github.com/janrito/rbtr
Project-URL: Repository, https://github.com/janrito/rbtr
Project-URL: Documentation, https://github.com/janrito/rbtr/tree/main/packages/rbtr-lang-hcl#readme
Project-URL: Issues, https://github.com/janrito/rbtr/issues
Project-URL: Changelog, https://github.com/janrito/rbtr/releases
Description-Content-Type: text/markdown

# rbtr-lang-hcl

HCL / Terraform support for [rbtr]. Optional plugin — install with
`pip install rbtr[hcl]`.

[rbtr]: https://github.com/janrito/rbtr/tree/main/packages/rbtr#readme

## What it ingests

Top-level blocks become **config-key** chunks (HCL is configuration, not
code). A block is named by its type and labels combined.

A `module` block's `source` becomes an **import**. A Terraform module is a
directory rather than a file, so a `source` naming one inside the repository
reaches every `.tf` file in it; a registry or git source reaches nothing,
having nothing here to reach.

## Chunks produced

```hcl
resource "aws_instance" "web" {}   # config_key "resource aws_instance web"
variable "region" {}               # config_key "variable region"
terraform {}                       # config_key "terraform"
```

## Embedded / injected chunks

None. HCL does not embed other languages.

## Grammar & dependencies

Uses the `tree-sitter-hcl` grammar (`.hcl`, `.tf`). No dependency on other
language plugins.
