terraform-aws-modules
organization.
To collect data about a module, run the following command:
cargo run -- collect-data --module <module>
Where <module>
is the name of the module you want to collect data for. For example, to collect data for the vpc
module, run:
cargo run -- collect-data --module vpc
Data is collected from the following sources:
- GitHub repository - repository clones and views
This data is what can be found on the /graphs/traffic
page of the GitHub repository. GitHub provides data for the last 14 days, aggregated by day.
- Terraform registry - module downloads
This data is what can be found on the registry page of the module. The registry continuously updates this data, so this project collects it daily as a "snapshot in time".
data/
├─ github/
│ ├─ eks/
│ │ ├─ clones.json
│ │ └─ views.json
│ ├─ eks-pod-identity/
│ │ ├─ clones.json
│ │ └─ views.json
│ └─ ...
└─ registry/
├─ eks/
│ ├─ 2024-03-22.json
│ ├─ 2024-03-23.json
│ └─ ...
├─ eks-pod-identity/
│ ├─ 2024-03-22.json
│ ├─ 2024-03-23.json
│ └─ ...
└─ ...
To build and run locally, you will need to install mdbook
- The theme(s) are provided by https://github.com/catppuccin/mdBook
cargo (bin)install mdbook-catppuccin
- Link checking is provided by https://github.com/Michael-F-Bryan/mdbook-linkcheck
cargo (bin)install mdbook-linkcheck