# hashicorp/terraform-provider-aws SLOC report

> hashicorp/terraform-provider-aws: 3,518,721 code lines at commit 7bbc662b897d, counted with tokei-15.0.0 on 2026-11-24. Saved result a2198cf86cb4b49489ffde99e1a072a72dc64749181b7beec3fbddf378bc35ea.

Source: [hashicorp/terraform-provider-aws on GitHub](https://github.com/hashicorp/terraform-provider-aws) · counted commit [7bbc662b897d](https://github.com/hashicorp/terraform-provider-aws/tree/7bbc662b897d7376860fec11fb095763f7780cac)

hashicorp/terraform-provider-aws has 3,518,721 source lines of code out of 4,098,088 total lines across 16,523 files, counted with tokei from the main ref at commit 7bbc662b897d on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving hashicorp/terraform-provider-aws to commit 7bbc662b897d, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

hashicorp/terraform-provider-aws: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 85.9% of all lines, comments represent 2.6%, and the repository averages 213 code lines per file. Go accounts for 92.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 9,934 | 3,768,930 | 3,269,122 | 82,977 | 416,831 |
| HCL | 5,376 | 273,072 | 209,019 | 14,512 | 49,541 |
| Groovy | 873 | 38,685 | 32,815 | 1,232 | 4,638 |
| JSON | 42 | 4,789 | 4,789 | 0 | 0 |
| Makefile | 3 | 1,520 | 1,281 | 56 | 183 |
| Templ | 22 | 1,064 | 908 | 51 | 105 |
| YAML | 9 | 451 | 391 | 18 | 42 |
| Pan | 7 | 108 | 107 | 0 | 1 |
| JavaScript | 12 | 195 | 100 | 69 | 26 |
| Python | 4 | 104 | 67 | 13 | 24 |
| XML | 3 | 60 | 51 | 6 | 3 |
| HTML | 1 | 57 | 47 | 2 | 8 |
| SVG | 1 | 15 | 15 | 0 | 0 |
| Dockerfile | 1 | 10 | 7 | 1 | 2 |
| Shell | 1 | 7 | 2 | 3 | 2 |
| Markdown | 216 | 7,286 | 0 | 5,687 | 1,599 |
| Plain Text | 18 | 1,735 | 0 | 1,676 | 59 |

Top language: Go 92.9%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/hashicorp/terraform-provider-aws/commit/7bbc662b897d7376860fec11fb095763f7780cac?reportId=a2198cf86cb4b49489ffde99e1a072a72dc64749181b7beec3fbddf378bc35ea&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/hashicorp/terraform-provider-aws/commit/7bbc662b897d7376860fec11fb095763f7780cac?reportId=a2198cf86cb4b49489ffde99e1a072a72dc64749181b7beec3fbddf378bc35ea&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does hashicorp/terraform-provider-aws have?

hashicorp/terraform-provider-aws has 3,518,721 lines of code, plus 106,303 comment lines and 473,064 blank lines, for 4,098,088 total lines at commit 7bbc662b897d on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the hashicorp/terraform-provider-aws line count measured?

OctoCounts resolved the public GitHub repository to commit 7bbc662b897d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for hashicorp/terraform-provider-aws?

This OctoCounts report was generated from main at commit 7bbc662b897d on November 24, 2026.

## Similar repository reports

- [nwverse/persona](https://octocounts.com/github/nwverse/persona) — Go, 3,427,092 code lines
- [ptone/scion](https://octocounts.com/github/ptone/scion) — Go, 3,825,217 code lines
- [matrixorigin/matrixone](https://octocounts.com/github/matrixorigin/matrixone) — Go, 3,186,137 code lines
- [cockroachdb/cockroach](https://octocounts.com/github/cockroachdb/cockroach) — Go, 3,085,053 code lines
- [kubernetes/kubernetes](https://octocounts.com/github/kubernetes/kubernetes) — Go, 4,080,874 code lines
- [grafana/grafana](https://octocounts.com/github/grafana/grafana) — Go, 4,146,068 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
