Documentation
Terraspin documentation — learn how to define, provision, and manage infrastructure as code.
Architecture
Each step is a self-contained package with zero cross-package coupling. `main()` orchestrates the pipeline linearly — no middleware, no DI container, no fact...
CLI Reference
Reads a terraform plan JSON from a file or stdin and produces risk analysis.
Configuration
Create `.terraspin.yml` in your Terraform workspace. All sections are optional.
Contributing
Contributions welcome — bug reports, feature requests, documentation improvements, and code.
Development
- Go 1.24+
Getting Started
Create `.terraspin.yml` in your Terraform workspace — see [Configuration](configuration.md).
Installation
Requires Go 1.24+.
Project Structure
- `main.go` — analyze command: plan parsing, scoring, AI narrative, formatting, `--fail-on` gate, CI posting, Slack notifications